Summary: | [model] IMethodBinding.getJavaElement returns non-existing handle | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | martinae |
Version: | 3.2 | ||
Target Milestone: | 3.3 RC4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2006-09-18 13:27:08 EDT
I got it because my compiler settings were set to 1.4 compliance and I used a 1.6 execution environment on the classpath. It worked fine once I switch to compliance 1.6. IMethodBinding.getJavaElement seems to return a IMethod that doesn't exist. However, there is a existing IMethod that corresponds to that method. Would be better if IMethodBinding.getJavaElement can return an existing method of possible. Jérôme, We might want to check the compliance to see what method should be returned. Cannot reproduce the JME using 3.3 RC4 (compliance project was 1.4 and JRE 1.6) |