diff options
Diffstat (limited to 'test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java')
-rw-r--r-- | test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java b/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java index ce969210..cd3d322b 100644 --- a/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java +++ b/test/src/jdk/nashorn/internal/performance/PerformanceWrapper.java @@ -36,10 +36,7 @@ import jdk.nashorn.internal.runtime.Context; import jdk.nashorn.internal.runtime.ScriptFunction; import jdk.nashorn.internal.runtime.ScriptRuntime; -/** - * - * @author Pavel Stepanov - */ +@SuppressWarnings("javadoc") public class PerformanceWrapper extends jdk.nashorn.tools.Shell { int _numberOfIterations; @@ -72,8 +69,8 @@ public class PerformanceWrapper extends jdk.nashorn.tools.Shell { } - protected void runExecuteOnlyTest(final String name, final int numberOfIterations, final int runsPerIteration, final String testURL, final OutputStream out, final OutputStream err, String[] newargs) throws Throwable { - String[] args=new String[newargs.length+1]; + protected void runExecuteOnlyTest(final String name, final int numberOfIterations, final int runsPerIteration, final String testURL, final OutputStream out, final OutputStream err, final String[] newargs) throws Throwable { + final String[] args=new String[newargs.length+1]; System.arraycopy(newargs, 0, args, 1, newargs.length); args[0]=name; |