Weiterer bcel Versuch StringLiteral

This commit is contained in:
Fikus, Evelyn (WWI2012D) 2015-06-22 15:08:30 +02:00
parent 09a447cc48
commit 614607e803

View File

@ -111,7 +111,9 @@ public class StringLiteral extends Literal
InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool());
il.append(_factory.ASTORE_1.createNew(this.getString()));
il.append(_factory.ASTORE_1);
il.append(_factory.createNew(string));
return il;
}