Community
Participate
Working Groups
Build Identifier: I20100909-0800 public class Test { String label = "works"; class Nested extends Test { Nested() { label = "broken"; } @Override public String toString() { return Test.this.label; // this line gets altered by the clean up } } public static void main(String[] args) { System.out.println(new Test().new Nested()); } } This example should print "works", but this bug changes the expression `Test.this.label` to `label`, which is a different reference, and the altered program prints "broken" instead. Reproducible: Always
Created attachment 183870 [details] Fix
Fixed in HEAD.