Summary: | ITypeBinding#getJavaElement() fails for array of inner type | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.3 | ||
Target Milestone: | 3.3 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Markus Keller
2007-02-12 06:02:09 EST
Released for 3.3M6. Markus, could you please double-check? Hmm, almost. It works for Inner[], but not for Inner[][]. When I change line 569 of TypeBinding from declaringTypeBinding = this.getComponentType().getDeclaringClass(); to declaringTypeBinding = this.getElementType().getDeclaringClass(); , then it works. Released for 3.3M6. Stupid me. This is what I wanted to do. Verified for 3.3 M6 using build I20070321-0010 Regression tests for this bug are ASTConverter15Test#test0244() -> test0246() |