Bug 214481 - [batch][compiler][options] jdk6 and later fetch source files from jars passed to -classpath
Summary: [batch][compiler][options] jdk6 and later fetch source files from jars passed...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 08:35 EST by Maxime Daniel CLA
Modified: 2008-01-07 08:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Daniel CLA 2008-01-07 08:35:00 EST
Starting with version 6, javac fetches source files from jars passed to the classpath, whereas it did not previously (it would fetch source files from jars only when those were passed to the -sourcepath option). Version 5 does not, which is also JDT behavior. We may want to consider upgrading JDT. Note also that this interacts with jars pointed to by other jars (see bug 97332). No javac version will following links for -sourcepath jars, whereas javac 6+ will both fetch source files from -classpath jars *and* follow links for those, resulting into a powerfull feature that JDT doesn't have yet, and that bug 97332 alone won't provide.