< prev index next >

test/runtime/LoadClass/LoadClassNegative.java

Print this page

        

*** 24,43 **** /* * @test * @key regression * @bug 8020675 * @summary make sure there is no fatal error if a class is loaded from an invalid jar file which is in the bootclasspath ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management * @build TestForName - * @build LoadClassNegative * @run main LoadClassNegative */ import java.io.File; ! import jdk.test.lib.*; public class LoadClassNegative { public static void main(String args[]) throws Exception { String bootCP = "-Xbootclasspath/a:" + System.getProperty("test.src") --- 24,43 ---- /* * @test * @key regression * @bug 8020675 * @summary make sure there is no fatal error if a class is loaded from an invalid jar file which is in the bootclasspath ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management * @build TestForName * @run main LoadClassNegative */ import java.io.File; ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; public class LoadClassNegative { public static void main(String args[]) throws Exception { String bootCP = "-Xbootclasspath/a:" + System.getProperty("test.src")
< prev index next >