Community
Participate
Working Groups
Right now we report anonymous access flag as final at the class file level, but the access flag of the corresponding anonymous type entry has be set to default (0) inside the inner class info. See bug 162296. For consistency, we should also clear the bit for the class file access flag.
+1, also please fix in all affected streams.
Created attachment 107095 [details] Proposed fix
Released for 3.5M1.
Released for 3.4.1
Added regression test org.eclipse.jdt.core.tests.compiler.regression.InnerEmulationTest#test155 for all streams (HEAD and 3.4.1).
Backported to 3.2.x with regression test org.eclipse.jdt.core.tests.compiler.regression.InnerEmulationTest#test135
Backported to 3.3.x with regression test org.eclipse.jdt.core.tests.compiler.regression.InnerEmulationTest#test153
Verified for 3.5M1 using I20080805-1307
To reproduce, I undid Olivier's change in a 3.4.x workspace and I ran InnerEmulationTest. Verified for 3.4.1 using M20080827-2000
Changing resolution back to FIXED since as per JDT/Core process a bug is marked VERIFIED only when verified in all streams.
Actually, after talking with Frederic, our verification process (ie. the FAQ) needs to be updated to say that a bug doesn't need to be verified if no official release is planned.