Merge "Fix OpenGL stub exception handling."

This commit is contained in:
Elliott Hughes 2013-09-27 22:31:18 +00:00 committed by Gerrit Code Review
commit d9be16f920

View File

@ -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 +