Object zu java.lang.Object als Superklasse von Class im Standardkonstruktor ändern

This commit is contained in:
JanUlrich 2015-10-23 11:48:35 +02:00
parent 77c06225a6
commit f16171a8f6

View File

@ -224,7 +224,7 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I
}
this.offset = offset;
if(!name.equals("Object"))//Alle Klassen außer Object erben von Object:
this.superClass = new Class("Object", -1).getType();
this.superClass = new Class("java.lang.Object", -1).getType();
}
// ino.end
@ -1067,7 +1067,7 @@ public class Class extends GTVDeclarationContext implements AClassOrInterface, I
/*
private Menge<ByteCodeResult> generateGenericClass(String name, Class superClass){
//TODO: bytecode -- Generics hinzufügen
//TODO: bytecode -- Generics hinzuf<EFBFBD>gen
//Type superClassType = superClass.getType();
//TODO: bytecode