Merge "Fix OpenGL stub exception handling."
This commit is contained in:
commit
d9be16f920
@ -1073,6 +1073,7 @@ public class JniCodeEmitter {
|
|||||||
String decl = type.getDeclaration();
|
String decl = type.getDeclaration();
|
||||||
needsExit = true;
|
needsExit = true;
|
||||||
out.println(indent + "if (!" + cname + ") {");
|
out.println(indent + "if (!" + cname + ") {");
|
||||||
|
out.println(indent + indent + "_exception = 1;");
|
||||||
out.println(indent + indent +
|
out.println(indent + indent +
|
||||||
"_exceptionType = \"java/lang/IllegalArgumentException\";");
|
"_exceptionType = \"java/lang/IllegalArgumentException\";");
|
||||||
out.println(indent + indent +
|
out.println(indent + indent +
|
||||||
|
Loading…
Reference in New Issue
Block a user