1) Perhaps javac's extdirs option has to be used?
2) Also override whatever is in boot JDK with whatever is being built?
(rather than prepend/append extension or bootstrap)
Thanks
-Sundar
On Thursday 02 October 2014 02:04 PM, Erik Joelsson wrote:
Hello,
Please review this small patch fixing the bootstrap problem of
building nasgen. To make sure no other nashorn is picked up, force the
bootclasspath to be only the rt.jar of the boot jdk and the newly
compiled nashorn classes. This webrev also contains the anti delta of
the workaround for this that was introduced in [1].
Bug: https://bugs.openjdk.java.net/browse/JDK-8059135
Webrev: http://cr.openjdk.java.net/~erikj/8059135/webrev.nashorn.01/
/Erik
[1] https://bugs.openjdk.java.net/browse/JDK-8059132