Community
Participate
Working Groups
I only seem to get this exception when I call ITypeBinding.getDeclaredFields() on classes from the jar file containing org.apache.httpclient (originally from the JBoss 3.2.3 source distribution). I'll try to make a testcase that duplicates this exception: org.eclipse.jdt.internal.compiler.problem.AbortCompilation at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:94) at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:1047) at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect(ProblemReporter.java:2123) at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:37) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:405) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveTypeFor(BinaryTypeBinding.java:415) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.fields(BinaryTypeBinding.java:293) at org.eclipse.jdt.core.dom.TypeBinding.getDeclaredFields(TypeBinding.java:333)
Created attachment 10232 [details] Jar file for org.apache.commons.httpclient
Created attachment 10236 [details] Plugin project to exercise getDeclaredFields
Created attachment 10237 [details] Project to put in run-time workbench that refers to org.apache.commons.httpclient.HttpClient FYI, I was seeing this bug in Eclipse 3.0 M8
Which build are you using ?
I believe this is a duplicate of bug 57871. This would be the same symptoms but calling fields() instead of methods().
I will try your test case with a recent integration build.
Confirmed. This is a duplicate of bug 57871. *** This bug has been marked as a duplicate of 57871 ***