Community
Participate
Working Groups
I20060221-1300 I found following suspicious looking code in jdt/core while testing the new "Make 'final' where possible" Clean Up: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException#fileName This field is never written to, either it is not needed or ClassFormatException(RuntimeException e, char[] fileName) { } should set it. org.eclipse.jdt.internal.compiler.ConfigurableOption#defaultValueIndex This field seams not to be required. org.eclipse.jdt.internal.formatter.Scribe2#lineEnds This field is either not required or not initialized. Seams like it is not initialized. You can see the problem when you change the fields in question to 'final'.
ConfigurableOptions is not used anymore, but I fixed it anyway. Fixed org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException and org.eclipse.jdt.internal.formatter.Scribe2.
Verified for 3.2 M6 using build I20060327-0010