Fix OpenGL stub exception handling.
Bug: https://code.google.com/p/android/issues/detail?id=60390 Change-Id: I2bdc22c5fe75f5e41ffb9dd9259ae92cf8a12917
This commit is contained in:
parent
e678897f3a
commit
2adde7c837
@ -1073,6 +1073,7 @@ public class JniCodeEmitter {
|
||||
String decl = type.getDeclaration();
|
||||
needsExit = true;
|
||||
out.println(indent + "if (!" + cname + ") {");
|
||||
out.println(indent + indent + "_exception = 1;");
|
||||
out.println(indent + indent +
|
||||
"_exceptionType = \"java/lang/IllegalArgumentException\";");
|
||||
out.println(indent + indent +
|
||||
|
Loading…
Reference in New Issue
Block a user