8145026: compiler/jsr292/NonInlinedCall/RedefineTest.java fails with: java.lang.NullPointerException in ClassFileInstaller.main

Reviewed-by: roland
This commit is contained in:
Vladimir Ivanov 2015-12-10 14:51:54 +03:00
parent afeb87ddd8
commit e56a7de478
4 changed files with 6 additions and 13 deletions

View File

@ -22,7 +22,6 @@
*/ */
import java.io.File; import java.io.File;
import java.io.PrintStream; import java.io.PrintStream;
import java.lang.instrument.Instrumentation;
import java.util.Arrays; import java.util.Arrays;
public class Agent { public class Agent {

View File

@ -24,8 +24,8 @@
/* /*
* @test * @test
* @bug 8072008 * @bug 8072008
* @library /testlibrary /../../test/lib * @library /testlibrary /test/lib
* @build GCTest NonInlinedReinvoker * @compile GCTest.java NonInlinedReinvoker.java
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission * sun.hotspot.WhiteBox$WhiteBoxPermission
* java.lang.invoke.GCTest * java.lang.invoke.GCTest
@ -40,10 +40,8 @@
package java.lang.invoke; package java.lang.invoke;
import sun.hotspot.WhiteBox; import sun.hotspot.WhiteBox;
import jdk.internal.vm.annotation.DontInline; import jdk.internal.vm.annotation.DontInline;
import jdk.internal.vm.annotation.Stable; import jdk.internal.vm.annotation.Stable;
import java.lang.ref.*; import java.lang.ref.*;
import static jdk.test.lib.Asserts.*; import static jdk.test.lib.Asserts.*;

View File

@ -24,8 +24,8 @@
/* /*
* @test * @test
* @bug 8072008 * @bug 8072008
* @library /testlibrary /../../test/lib * @library /testlibrary /test/lib
* @build InvokeTest NonInlinedReinvoker * @compile InvokeTest.java NonInlinedReinvoker.java
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission * sun.hotspot.WhiteBox$WhiteBoxPermission
* java.lang.invoke.InvokeTest * java.lang.invoke.InvokeTest
@ -43,9 +43,7 @@
package java.lang.invoke; package java.lang.invoke;
import sun.hotspot.WhiteBox; import sun.hotspot.WhiteBox;
import jdk.internal.vm.annotation.DontInline; import jdk.internal.vm.annotation.DontInline;
import static jdk.test.lib.Asserts.*; import static jdk.test.lib.Asserts.*;
public class InvokeTest { public class InvokeTest {

View File

@ -24,8 +24,8 @@
/* /*
* @test * @test
* @bug 8072008 * @bug 8072008
* @library /testlibrary /../../test/lib * @library /testlibrary /test/lib
* @build RedefineTest Agent * @compile -XDignore.symbol.file RedefineTest.java Agent.java
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission * sun.hotspot.WhiteBox$WhiteBoxPermission
* java.lang.invoke.RedefineTest * java.lang.invoke.RedefineTest
@ -42,10 +42,8 @@ package java.lang.invoke;
import sun.hotspot.WhiteBox; import sun.hotspot.WhiteBox;
import sun.misc.Unsafe; import sun.misc.Unsafe;
import jdk.internal.org.objectweb.asm.*; import jdk.internal.org.objectweb.asm.*;
import jdk.internal.vm.annotation.DontInline; import jdk.internal.vm.annotation.DontInline;
import java.lang.instrument.ClassDefinition; import java.lang.instrument.ClassDefinition;
import java.lang.instrument.Instrumentation; import java.lang.instrument.Instrumentation;