features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ff32791e3d
commit
19ea3b5242
1 changed files with 6 additions and 1 deletions
|
|
@ -67,7 +67,12 @@ public class java_throws_runme {
|
|||
if (!pass)
|
||||
throw new RuntimeException("Test 5 failed");
|
||||
|
||||
FeatureTest f = new FeatureTest();
|
||||
FeatureTest f = null;
|
||||
try {
|
||||
f = new FeatureTest();
|
||||
}
|
||||
catch (MyException e) {}
|
||||
|
||||
// Instance method
|
||||
pass = false;
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue