8151100: Test java/lang/instrument/NativeMethodPrefixAgent.java can't attempt to do CheckIntrinsics
authormgronlun
Thu, 03 Mar 2016 12:34:55 +0100
changeset 36427 1be706dbb3b8
parent 36426 0e872dde6064
child 36428 a1e1d52449d1
8151100: Test java/lang/instrument/NativeMethodPrefixAgent.java can't attempt to do CheckIntrinsics Reviewed-by: sspitsyn, ddmitriev, egahlin
jdk/test/java/lang/instrument/NativeMethodPrefixAgent.java
--- 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.*;