Compiler warning fixes in testcases
This commit is contained in:
parent
13aac0dca9
commit
e2b6de8a03
4 changed files with 23 additions and 13 deletions
|
|
@ -95,6 +95,7 @@
|
|||
%}
|
||||
|
||||
%typemap(throws,throws=PACKAGEDOT"MyNS.MyJavaException1") int %{
|
||||
(void)$1;
|
||||
jclass excpcls = jenv->FindClass(PACKAGESLASH"MyNS/MyJavaException1");
|
||||
if (excpcls) {
|
||||
jenv->ThrowNew(excpcls, "Threw some integer");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue