Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2

This commit is contained in:
JanUlrich 2017-12-20 14:14:25 +01:00
commit bdc2a83b1c

View File

@ -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()) {