korrekte bytecode
This commit is contained in:
parent
5f731bb09c
commit
d989100b47
@ -67,7 +67,7 @@ public class BytecodeGen implements ASTVisitor {
|
|||||||
className = classOrInterface.getClassName().toString();
|
className = classOrInterface.getClassName().toString();
|
||||||
// access flages??
|
// access flages??
|
||||||
cw.visit(Opcodes.V1_8, classOrInterface.getModifiers()+Opcodes.ACC_SUPER, classOrInterface.getClassName().toString()
|
cw.visit(Opcodes.V1_8, classOrInterface.getModifiers()+Opcodes.ACC_SUPER, classOrInterface.getClassName().toString()
|
||||||
, null, classOrInterface.getSuperClass().toString(), null);
|
, null, classOrInterface.getSuperClass().toString().replace(".", "/"), null);
|
||||||
|
|
||||||
// for each field in the class
|
// for each field in the class
|
||||||
for(Field f : classOrInterface.getFieldDecl()) {
|
for(Field f : classOrInterface.getFieldDecl()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user