@@ -27,10 +27,11 @@ * @bug 8046287 * @summary Creates two threads contending for the same lock and checks * whether jstack reports "locked" by more than one thread. * * @library /testlibrary + * @build com.oracle.java.testlibrary.* * @run main/othervm TestThreadDumpMonitorContention */ import java.io.BufferedReader; import java.io.InputStreamReader;