Packages

frank.westlake at gmail.com frank.westlake at gmail.com
Mon May 13 08:39:34 PDT 2013


My apologies: I hit "reply" and it did not go to the  
list, so this is a duplicate of the private reply.

>From "A. Sundararajan" :
 >Hi

 >     const android = Packages.android

 >does not work with nashorn. But the following should
 >work:

 >     var android = Packages.android

 >You can still use "Packages.android" after defining the
 >above. Not sure of the "conflict" that you mention.

Thanks. My experience was with Rhino. I can't build 
Nashorn and no jar is available yet so I only assumed 
that it is the same.

Frank


More information about the nashorn-dev mailing list