Bug 36543 - compiler's incomplete build path option is not working
Summary: compiler's incomplete build path option is not working
Status: RESOLVED DUPLICATE of bug 21661
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 17:22 EDT by Jiunjiun Ma CLA
Modified: 2003-06-02 06:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiunjiun Ma CLA 2003-04-15 17:22:18 EDT
I got a java compilation error due to an incomplete build path (basically some 
jar file I download had some missing class files). I tried to set the 
compiler's "incomplete build path" option from "error" to "warning" to avoid 
the build failure, but it still gave me the same error. When I tried to build 
the code using javac, the javac compiler can successfully ignored this problem 
(since I am not actually referencing the missing class file). It seems the IDE 
doesn't really turn the option from "error" to "warning".
Comment 1 Philipe Mulet CLA 2003-04-17 07:25:30 EDT
Our option wording is likely a bit confusing. When telling the compiler to 
treat incomplete build path as a warning, it does allow compiling even if some 
entries on the classpath are unbound.

This doesn't affect the fact that subsequent unresolvable references in the 
source will be reported as errors; it is only a pre-sanity check.

Now it is true that our compiler eagerly needs more indirect references from 
binaries than other compilers. We have improved our behavior since R2.1, and a 
patch is posted on JDT/Core 2.2 update area:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-
home/r2.2/main.html#updates
Comment 2 Philipe Mulet CLA 2003-04-17 07:28:33 EDT
Closing as duplicate. Please reopen if symptoms persist with the patch.

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