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