forked from JavaTX/JavaCompilerCore
Testen von StackMapTable-Generator
This commit is contained in:
parent
86a94dfae9
commit
9d9526ae72
Binary file not shown.
@ -95,7 +95,9 @@ public abstract class Operator extends SyntaxTreeNode
|
|||||||
}else if(returnType.equals("java.lang.Long")){
|
}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));
|
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")){
|
}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{
|
}else{
|
||||||
throw new NotImplementedException(returnType);
|
throw new NotImplementedException(returnType);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user