Community
Participate
Working Groups
3.1-RC1 test pass - have the code in a project I will attach (note: my project has UTF-16 encoding, not sure whether this matters) - open Foo.java - get the exception
Created attachment 21959 [details] AIOOB.zip Contains com.annot Foo.java Test.java TestType.java
encoding does not seem to matter - just tested with UTF-8 and got same result.
Could this be a duplicate of bug 97139?
No, this is not exactly a duplicate of bug 97139. A candidate for RC2.
+1 for RC2
Fixed and released in HEAD. I reorganized the attribute code generation to always go through the method generateMethodInfoAttribute(MethodBinding) that takes care of adding synthetic, deprecated, exception, ... attributes. I changed all synthetic method generations.
Regression test added in org.eclipse.jdt.core.tests.compiler.regression.EnumTest.test112.
*** Bug 97396 has been marked as a duplicate of this bug. ***
Verified in N20050606-0010
Verified for 3.1 RC2 using build I20050610-0010