am d9be16f9
: Merge "Fix OpenGL stub exception handling."
* commit 'd9be16f920f7c2581fda3ca495c1e6fc88857a6c': Fix OpenGL stub exception handling.
This commit is contained in:
commit
b7f3742feb
@ -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