changeset 36427:1be706dbb3b8

8151100: Test java/lang/instrument/NativeMethodPrefixAgent.java can't attempt to do CheckIntrinsics Reviewed-by: sspitsyn, ddmitriev, egahlin
author mgronlun
date Thu, 03 Mar 2016 12:34:55 +0100
parents 0e872dde6064
children a1e1d52449d1
files jdk/test/java/lang/instrument/NativeMethodPrefixAgent.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.*;