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