--- old/test/testlibrary/jdk/test/lib/InMemoryJavaCompiler.java 2015-07-15 17:55:02.635730159 +0300 +++ new/test/testlibrary/jdk/test/lib/InMemoryJavaCompiler.java 2015-07-15 17:55:02.559728964 +0300 @@ -31,11 +31,9 @@ import java.util.Arrays; import javax.tools.ForwardingJavaFileManager; -import javax.tools.ForwardingJavaFileManager; import javax.tools.FileObject; import javax.tools.JavaCompiler; import javax.tools.JavaCompiler.CompilationTask; -import javax.tools.JavaFileManager; import javax.tools.JavaFileObject; import javax.tools.JavaFileObject.Kind; import javax.tools.SimpleJavaFileObject; --- old/test/testlibrary/jdk/test/lib/Platform.java 2015-07-15 17:55:02.943735006 +0300 +++ new/test/testlibrary/jdk/test/lib/Platform.java 2015-07-15 17:55:02.863733747 +0300 @@ -24,7 +24,6 @@ package jdk.test.lib; import java.util.regex.Pattern; -import jdk.test.lib.Utils; public class Platform { private static final String osName = System.getProperty("os.name"); --- old/test/testlibrary/jdk/test/lib/ProcessTools.java 2015-07-15 17:55:03.267740104 +0300 +++ new/test/testlibrary/jdk/test/lib/ProcessTools.java 2015-07-15 17:55:03.187738846 +0300 @@ -27,8 +27,6 @@ import java.io.IOException; import java.lang.management.ManagementFactory; import java.lang.management.RuntimeMXBean; -import java.lang.reflect.Field; -import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collections; import java.util.List; --- old/test/testlibrary/jdk/test/lib/Utils.java 2015-07-15 17:55:03.579745012 +0300 +++ new/test/testlibrary/jdk/test/lib/Utils.java 2015-07-15 17:55:03.495743691 +0300 @@ -24,9 +24,6 @@ package jdk.test.lib; import static jdk.test.lib.Asserts.assertTrue; -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Field; import java.net.InetAddress; @@ -58,12 +55,12 @@ public static final String NEW_LINE = System.getProperty("line.separator"); /** - * Returns the value of 'test.vm.opts'system property. + * Returns the value of 'test.vm.opts' system property. */ public static final String VM_OPTIONS = System.getProperty("test.vm.opts", "").trim(); /** - * Returns the value of 'test.java.opts'system property. + * Returns the value of 'test.java.opts' system property. */ public static final String JAVA_OPTIONS = System.getProperty("test.java.opts", "").trim(); @@ -129,7 +126,7 @@ /** * Returns the default JTReg arguments for a jvm running a test. * This is the combination of JTReg arguments test.vm.opts and test.java.opts. - * @return An array of options, or an empty array if no opptions. + * @return An array of options, or an empty array if no options. */ public static String[] getTestJavaOpts() { List opts = new ArrayList(); @@ -276,7 +273,7 @@ * 12254 /tmp/jdk8/tl/jdk/JTwork/classes/com/sun/tools/attach/Application.jar * * @param key A regular expression to search for. - * @return The found pid, or -1 if Enot found. + * @return The found pid, or -1 if not found. * @throws Exception If multiple matching jvms are found. */ public static int tryFindJvmPid(String key) throws Throwable { @@ -392,7 +389,7 @@ * @param condition, a condition to wait for * @param timeout a time in milliseconds to wait for condition to be true * specifying -1 will wait forever - * @return condition value, to determine if wait was successfull + * @return condition value, to determine if wait was successful */ public static final boolean waitForCondition(BooleanSupplier condition, long timeout) { @@ -406,7 +403,7 @@ * @param timeout a time in milliseconds to wait for condition to be true, * specifying -1 will wait forever * @param sleepTime a time to sleep value in milliseconds - * @return condition value, to determine if wait was successfull + * @return condition value, to determine if wait was successful */ public static final boolean waitForCondition(BooleanSupplier condition, long timeout, long sleepTime) {