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.PrintStream;
import java.lang.instrument.Instrumentation;
import java.util.Arrays;
public class Agent {

View File

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

View File

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

View File

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