From d989100b4764c03c77a1231bf73e3ea241f0bc77 Mon Sep 17 00:00:00 2001 From: Fayez Abu Alia Date: Wed, 20 Dec 2017 14:14:05 +0100 Subject: [PATCH] korrekte bytecode --- src/de/dhbwstuttgart/bytecode/BytecodeGen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {