Community
Participate
Working Groups
When compiling for a 1.5 target, class literals are compiled using the ldc bytecode and do not require the synthetic fields 'static Class class$0' etc. These fields are generated anyway but never used.
I'll investigate this one.
Fixed and released in HEAD. The synthetic field was created when the source level was lower or equals than 1.5 instead of lower than 1.5. Added regression test in org.eclipse.jdt.core.tests.compiler.regression.Compliance_1_3.test103, org.eclipse.jdt.core.tests.compiler.regression.Compliance_1_4.test103, org.eclipse.jdt.core.tests.compiler.regression.Compliance_1_5.test103.
pls backport to 3.1.2
Verified for 3.2M4 in I20051212-2000
Verified for 3.1.2 using build M20060109-1200.
Verified for 3.1.2 using build M20060109-1200 (maxime)