forked from JavaTX/JavaCompilerCore
korrekte bytecode
This commit is contained in:
parent
5f731bb09c
commit
d989100b47
@ -67,7 +67,7 @@ public class BytecodeGen implements ASTVisitor {
|
||||
className = classOrInterface.getClassName().toString();
|
||||
// access flages??
|
||||
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(Field f : classOrInterface.getFieldDecl()) {
|
||||
|
Loading…
Reference in New Issue
Block a user