Tweak test so it works if test-suite is run using -copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7aa339cb3f
commit
b40f678115
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ public class java_prepost_runme {
|
||||||
{
|
{
|
||||||
// ensure checked exception is generated
|
// ensure checked exception is generated
|
||||||
try {
|
try {
|
||||||
PrePostThrows ppt = new PrePostThrows(null);
|
PrePostThrows ppt = new PrePostThrows(null, true);
|
||||||
} catch (InstantiationException e) {
|
} catch (InstantiationException e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ struct PrePost2 {
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
struct PrePostThrows {
|
struct PrePostThrows {
|
||||||
PrePostThrows(PrePostTest *ppt) {
|
PrePostThrows(PrePostTest *ppt, bool) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue