Summary: | ArrayIndexOutOfBoundsException in ClassFile.addSyntheticSwitchTable | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tom Hofmann <eclipse> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | lindovsky | ||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 RC2 | ||||||
Hardware: | PC | ||||||
OS: | Linux-GTK | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Tom Hofmann
2005-05-30 09:50:38 EDT
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. 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 |