var List = Java.type("java.util.List");
is the recommended way. But if you've to use importClass, you can do the
following:
load("nashorn:mozilla_compat.js")
importClass(java.util.List);
-Sundar
On Tuesday 08 October 2013 12:22 PM, Tal Liron wrote:
> What is the equivalent of Rhino's importClass in Nashorn?