Compiler warning fixes in testcases

This commit is contained in:
William S Fulton 2014-03-15 18:24:01 +00:00
commit e2b6de8a03
4 changed files with 23 additions and 13 deletions

View file

@ -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");