RFR 8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs

Mandy Chung mandy.chung at oracle.com
Sat Nov 29 01:32:00 UTC 2014


Hi Sundar,

On 11/28/2014 2:41 AM, A. Sundararajan wrote:
> Hi,
>
> Please review http://cr.openjdk.java.net/~sundar/8066146/webrev.00/ 
> for https://bugs.openjdk.java.net/browse/JDK-8066146

Is  jdk.nashorn.api.scripting a supported API?  It looks like some 
classes are defined for JEP 202 [1] and is the entire package new in 
8u40 and 9? @since is missing in the javadoc and I can't tell for sure.  
If supported, this should be declared in <top>/modules.xml:

   <module>
     <name>jdk.scripting.nashorn</name>
     <depend>java.base</depend>
     <depend>java.logging</depend>
     <depend>java.scripting</depend>
     <export>
       <name>jdk.nashorn.api.scripting</name>
     </export>
   </module>

JDK-8066146 is a build change.  Probably best to file a new bug to
follow up missing @since and modules.xml change?

thanks
Mandy
[1] http://openjdk.java.net/jeps/202




More information about the build-dev mailing list