nashorn not compliant with ecma-262/5.1 for package access?

Walter Higgins walter.higgins at
Tue Jan 14 08:36:10 PST 2014

Nashorn does not seem to conform to the ecma spec for property accessors
for Package sub-package access...

For example, the results of these 2 expressions differ...

jjs> java['net']

The bracket notation ([ ]) worked for accessing sub-packages in javascript
in Java6 & Java7.

Walter Higgins
Mobile: (+353) 086 8511600

More information about the nashorn-dev mailing list