8151100: Test java/lang/instrument/NativeMethodPrefixAgent.java can't attempt to do CheckIntrinsics
Reviewed-by: sspitsyn, ddmitriev, egahlin
--- a/jdk/test/java/lang/instrument/NativeMethodPrefixAgent.java Wed Mar 02 23:48:43 2016 +0000
+++ b/jdk/test/java/lang/instrument/NativeMethodPrefixAgent.java Thu Mar 03 12:34:55 2016 +0100
@@ -31,7 +31,7 @@
* java.management
* java.instrument
* @run shell/timeout=240 MakeJAR2.sh NativeMethodPrefixAgent NativeMethodPrefixApp 'Can-Retransform-Classes: true' 'Can-Set-Native-Method-Prefix: true'
- * @run main/othervm -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-CheckIntrinsics -javaagent:NativeMethodPrefixAgent.jar NativeMethodPrefixApp
*/
import java.lang.instrument.*;