RFR: JDK-8047177: JDK build should make use of the new -XXuserPathsFirst
Andreas Lundblad
andreas.lundblad at oracle.com
Fri Dec 5 20:08:09 UTC 2014
On Tue, Oct 28, 2014 at 11:40:49AM +0100, Erik Joelsson wrote:
> Hello,
>
> Please review this small fix when using sjavac. When using a bootjdk
> that was built at a later date than when the source tree was
> initially cloned, there is a risk that sjavac will pick up classes
> from the boot classpath (rt.jar of boot jdk) instead of the source
> files, concluding that the source files won't need to be built. This
> is only an issue when building classes that are also present in the
> boot classpath of the bootjdk, which we normally do since we are
> building the jdk.
>
> The fix is to add a special option for this use case, which forces
> sjavac to build source files if found, regardless of class file
> dates.
Did we get any closure on this?
Background discussion on compiler-dev (subject: "timestamp oddities -sourcepath vs zip/jar")
Joel, did you come to the conclusion that adding -XXuserPathsFirst would not solve our issues? (Or did I missunderstand you?)
-- Andreas
More information about the build-dev
mailing list