8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe
authorakulyakh
Mon, 14 Sep 2015 14:26:29 +0300
changeset 32747 51960ef64fa4
parent 32746 11ab01b37e82
child 32748 6cb8b6ab9081
8134641: CodelistTest.java fails with sun.misc.Unsafe.getUnsafe Summary: Excluding lines containing sun.misc.Unsafe.getUnsafe from the test input as getUnsafe is hidden from reflection Reviewed-by: sla
hotspot/test/serviceability/dcmd/compiler/CodelistTest.java
--- a/hotspot/test/serviceability/dcmd/compiler/CodelistTest.java	Mon May 25 19:26:23 2015 -0700
+++ b/hotspot/test/serviceability/dcmd/compiler/CodelistTest.java	Mon Sep 14 14:26:29 2015 +0300
@@ -90,6 +90,9 @@
             if (methodPrintedInLogFormat.contains("MethodHandle")) {
                 continue;
             }
+            if (methodPrintedInLogFormat.contains("sun.misc.Unsafe.getUnsafe")) {
+                continue;
+            }
 
             MethodIdentifierParser mf = new MethodIdentifierParser(methodPrintedInLogFormat);
             Method m = null;