--- old/test/runtime/Safepoint/AssertSafepointCheckConsistency2.java 2016-08-11 13:37:39.824001400 -0400 +++ new/test/runtime/Safepoint/AssertSafepointCheckConsistency2.java 2016-08-11 13:37:39.419216900 -0400 @@ -25,16 +25,18 @@ * @test * @bug 8047290 * @summary Ensure that a Monitor::lock fires an assert when it incorrectly acquires a lock which must never have safepoint checks. - * @library /testlibrary /test/lib + * @library /test/lib * @modules java.base/jdk.internal.misc * java.management - * @build AssertSafepointCheckConsistency2 + * @build sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main AssertSafepointCheckConsistency2 */ -import jdk.test.lib.*; +import jdk.test.lib.process.ProcessTools; +import jdk.test.lib.process.OutputAnalyzer; +import jdk.test.lib.Platform; import sun.hotspot.WhiteBox;