Testen von StackMapTable-Generator

This commit is contained in:
JanUlrich 2016-06-15 20:58:55 +02:00
parent 86a94dfae9
commit 9d9526ae72
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -95,7 +95,9 @@ public abstract class Operator extends SyntaxTreeNode
}else if(returnType.equals("java.lang.Long")){
il.append(_cg.getInstructionFactory().createInvoke("java.lang.Long", "longValue", org.apache.commons.bcel6.generic.Type.LONG, new org.apache.commons.bcel6.generic.Type[] {}, Constants.INVOKEVIRTUAL));
}else if(returnType.equals("java.lang.String")){
throw new NotImplementedException(returnType);
}else if(returnType.equals("java.lang.Boolean")){
il.append(_cg.getInstructionFactory().createInvoke("java.lang.Boolean", "booleanValue", org.apache.commons.bcel6.generic.Type.BOOLEAN, new org.apache.commons.bcel6.generic.Type[] {}, Constants.INVOKEVIRTUAL));
}else{
throw new NotImplementedException(returnType);
}