From 647c9e6c21523f538dad3fbcd011c2971fedb13e Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Wed, 8 Jan 2020 14:47:03 +0100 Subject: [PATCH] modified: ../../../main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java .replace("/", ".")); anegfuegt, damit auch bei packages superklassen gefunden erden. --- src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java b/src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java index ac103378..5f1e6132 100644 --- a/src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java +++ b/src/main/java/de/dhbwstuttgart/bytecode/BytecodeGenMethod.java @@ -776,7 +776,7 @@ public class BytecodeGenMethod implements StatementVisitor { String superClass = ""; while(true) { try { - superClass = helper.getSuperClass(receiverName); + superClass = helper.getSuperClass(receiverName.replace("/", ".")); try { String superClazz = superClass.replace("/", ".");