test/java/lang/instrument/PremainClass/PremainClassTest.java

Print this page
rev 9907 : 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError

@@ -28,11 +28,11 @@
 /*
  * @test
  * @bug 5055293
  * @summary Test non ascii characters in the Premain-Class attribute.
  * @library /lib/testlibrary
- * @run build DummyMain
+ * @run build jdk.testlibrary.* DummyMain
  * @run main PremainClassTest
  */
 public class PremainClassTest {
     // Use a javaagent where the manifest Premain-Class contains
     // a non ascii character.