Community
Participate
Working Groups
Formatter doesn't work on the following code: import java.lang.reflect.Constructor; public class X { public <T extends X> Constructor<T> ctor() {return null;} static <T extends X> T f1() throws Exception{ return new X().<T>ctor().newInstance(new Object[0]); } static <T extends X> T f2() throws Exception { return f1(); } }
+1 for RC2
Fixed and released in HEAD. Regression tests added in org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test581/582.
Verified with N20050609-0010 + JDT/Core HEAD
Verified for 3.1 RC2 using build I20050610-0010