test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java

changeset 771
5ab19753ce4a
parent 7
5a1b0714df0e
child 952
6d5471a497fb
child 962
ac62e33a99b0
     1.1 --- a/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java	Thu Mar 13 15:58:24 2014 +0530
     1.2 +++ b/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java	Mon Mar 17 18:02:00 2014 +0530
     1.3 @@ -31,9 +31,9 @@
     1.4  import java.util.concurrent.Future;
     1.5  import java.util.concurrent.TimeUnit;
     1.6  import java.util.concurrent.TimeoutException;
     1.7 +import jdk.nashorn.internal.objects.Global;
     1.8  import jdk.nashorn.internal.runtime.Context;
     1.9  import jdk.nashorn.internal.runtime.ScriptFunction;
    1.10 -import jdk.nashorn.internal.runtime.ScriptObject;
    1.11  import jdk.nashorn.internal.runtime.ScriptRuntime;
    1.12  
    1.13  /**
    1.14 @@ -89,7 +89,7 @@
    1.15      @Override
    1.16      protected Object apply(final ScriptFunction target, final Object self) {
    1.17          if (_runsPerIteration == 0 && _numberOfIterations == 0) {
    1.18 -            final ScriptObject global = jdk.nashorn.internal.runtime.Context.getGlobal();
    1.19 +            final Global global = jdk.nashorn.internal.runtime.Context.getGlobal();
    1.20              final ScriptFunction _target = target;
    1.21              final Object _self = self;
    1.22  

mercurial