diff --git a/src/de/dhbwstuttgart/bytecode/BytecodeGen.java b/src/de/dhbwstuttgart/bytecode/BytecodeGen.java index a1bd4ae5..6f7acd64 100644 --- a/src/de/dhbwstuttgart/bytecode/BytecodeGen.java +++ b/src/de/dhbwstuttgart/bytecode/BytecodeGen.java @@ -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()) {