am d9be16f9: Merge "Fix OpenGL stub exception handling."

* commit 'd9be16f920f7c2581fda3ca495c1e6fc88857a6c':
  Fix OpenGL stub exception handling.
This commit is contained in:
Elliott Hughes 2013-09-27 15:38:04 -07:00 committed by Android Git Automerger
commit b7f3742feb
1 changed files with 1 additions and 0 deletions

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 +