RFR 8167614: Avoid module dependency from jdk.dynalink to jdk.internal.module of java.base module

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 12 15:21:13 UTC 2016


On 12/10/2016 16:11, Sundararajan Athijegannathan wrote:

> Bug: https://bugs.openjdk.java.net/browse/JDK-8167614
>
> jdk webrev: http://cr.openjdk.java.net/~sundar/8167614/jdk/webrev.00/
>
> nashorn webrev:
> http://cr.openjdk.java.net/~sundar/8167614/nashorn/webrev.00/
>
In jdk/nashorn/internal/runtime/Context.java then it checks if the 
java.sql and java.sql.rowset are observable. This does not mean they are 
in the boot layer, I think you want 
Layer.boot().findModule("java.sql").ifPresent(...). However, the this 
code in Nashorn makes me wonder if this is actually needed or why these 
two are special cased.

-Alan


More information about the nashorn-dev mailing list