mirror of https://github.com/swig/swig
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
|
@ -16,7 +16,7 @@ public class java_prepost_runme {
|
|||
{
|
||||
// ensure checked exception is generated
|
||||
try {
|
||||
PrePostThrows ppt = new PrePostThrows(null);
|
||||
PrePostThrows ppt = new PrePostThrows(null, true);
|
||||
} catch (InstantiationException e) {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ struct PrePost2 {
|
|||
|
||||
%inline %{
|
||||
struct PrePostThrows {
|
||||
PrePostThrows(PrePostTest *ppt) {
|
||||
PrePostThrows(PrePostTest *ppt, bool) {
|
||||
}
|
||||
};
|
||||
%}
|
||||
|
|
Loading…
Reference in New Issue