Bug 60812 - AbortCompilation exception while calling ITypeBinding.getDeclaredFields()
Summary: AbortCompilation exception while calling ITypeBinding.getDeclaredFields()
Status: RESOLVED DUPLICATE of bug 57871
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 16:10 EDT by Edwin Chan CLA
Modified: 2004-05-03 17:05 EDT (History)
0 users

See Also:


Attachments
Jar file for org.apache.commons.httpclient (213.12 KB, application/octet-stream)
2004-05-03 16:11 EDT, Edwin Chan CLA
no flags Details
Plugin project to exercise getDeclaredFields (203.80 KB, application/x-zip-compressed)
2004-05-03 16:41 EDT, Edwin Chan CLA
no flags Details
Project to put in run-time workbench that refers to org.apache.commons.httpclient.HttpClient (197.56 KB, application/x-zip-compressed)
2004-05-03 16:43 EDT, Edwin Chan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Chan CLA 2004-05-03 16:10:03 EDT
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)
Comment 1 Edwin Chan CLA 2004-05-03 16:11:19 EDT
Created attachment 10232 [details]
Jar file for org.apache.commons.httpclient
Comment 2 Edwin Chan CLA 2004-05-03 16:41:59 EDT
Created attachment 10236 [details]
Plugin project to exercise getDeclaredFields
Comment 3 Edwin Chan CLA 2004-05-03 16:43:14 EDT
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
Comment 4 Philipe Mulet CLA 2004-05-03 16:43:53 EDT
Which build are you using ? 
Comment 5 Olivier Thomann CLA 2004-05-03 16:51:59 EDT
I believe this is a duplicate of bug 57871.
This would be the same symptoms but calling fields() instead of methods().
Comment 6 Olivier Thomann CLA 2004-05-03 16:52:44 EDT
I will try your test case with a recent integration build.
Comment 7 Olivier Thomann CLA 2004-05-03 17:05:43 EDT
Confirmed. This is a duplicate of bug 57871.

*** This bug has been marked as a duplicate of 57871 ***