1.1 --- a/javascript.devtools/src/org/netbeans/modules/javascript/devtools/astbrowser/AstViewer.java Tue Jan 03 23:23:56 2012 +0100
1.2 +++ b/javascript.devtools/src/org/netbeans/modules/javascript/devtools/astbrowser/AstViewer.java Wed Jan 04 14:33:03 2012 +0100
1.3 @@ -445,7 +445,7 @@
1.4 long end = System.currentTimeMillis();
1.5 // System.out.println("Nashron creating source: " + (end - start));
1.6 start = System.currentTimeMillis();
1.7 - com.oracle.nashorn.runtime.Options options = new com.oracle.nashorn.runtime.Options("nashorn");
1.8 + com.oracle.nashorn.runtime.options.Options options = new com.oracle.nashorn.runtime.options.Options("nashorn");
1.9 options.process(new String[]{
1.10 "--parse-only=true",
1.11 //"--print-parse=true",
1.12 @@ -752,7 +752,7 @@
1.13 long start = System.currentTimeMillis();
1.14 com.oracle.nashorn.runtime.Source source = new com.oracle.nashorn.runtime.Source("test", snapshot.getText().toString());
1.15 start = System.currentTimeMillis();
1.16 - com.oracle.nashorn.runtime.Options options = new com.oracle.nashorn.runtime.Options("nashorn");
1.17 + com.oracle.nashorn.runtime.options.Options options = new com.oracle.nashorn.runtime.options.Options("nashorn");
1.18 options.process(new String[]{
1.19 "--parse-only=true",
1.20 //"--print-parse=true",