forked from JavaTX/JavaCompilerCore
Merge branch 'bytecode2' of ssh://gohorb.ba-horb.de/bahome/projekt/git/JavaCompilerCore into bytecode2
This commit is contained in:
commit
bdc2a83b1c
@ -67,7 +67,7 @@ public class BytecodeGen implements ASTVisitor {
|
|||||||
className = classOrInterface.getClassName().toString();
|
className = classOrInterface.getClassName().toString();
|
||||||
// access flages??
|
// access flages??
|
||||||
cw.visit(Opcodes.V1_8, classOrInterface.getModifiers()+Opcodes.ACC_SUPER, classOrInterface.getClassName().toString()
|
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 each field in the class
|
||||||
for(Field f : classOrInterface.getFieldDecl()) {
|
for(Field f : classOrInterface.getFieldDecl()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user