I have a class like that:
public class LabelTest {
public LabelTest(){
final JFrame frame = new JFrame();
frame.setSize(100, 100);
final StringBuilder builder = createStringBuilder();
JLabel label = new JLabel(builder.toString());
frame.add(label);
frame.setVisible(true);;
}
private StringBuilder createStringBuilder(){
return new StringBuilder("Hello");
}
}
the .class - after the manipulation of jbossretro is still holding the reference to
StringBuilder in the Local variable table
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223036#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...