Community
Participate
Working Groups
Build 20031008 Following source remains unchanged by formatter: public class X { public static void main(String[] args) { new X().bar(); } public void bar() { class C extends X { public void foo() { System.out.println("SUCCESS"); } } class D extends C { D(){X.this.super();} } new D().foo(); } }
From the log: !ENTRY org.eclipse.jdt.ui 4 10001 Oct 09, 2003 15:56:55.885 !MESSAGE formatter failed to format (no edit returned). Will use unformatted text instead. kind: 8, string: public class X { public static void main(String[] args) { new X().bar(); } public void bar() { class C extends X { public void foo() { System.out.println("SUCCESS"); } } class D extends C { D(){X.this.super();} } new D().foo(); } }
I am investigating.
I didn't consume the '.' after X.this. Fixed and released in HEAD. Regression test added.