changeset 9303:7b8eb3b6361a

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
author akulyakh
date Mon, 14 Sep 2015 14:26:29 +0300
parents 302c7e22630b
children 4f3ddb6a2b70
files test/serviceability/dcmd/compiler/CodelistTest.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/dcmd/compiler/CodelistTest.java	Mon May 25 19:26:23 2015 -0700
+++ b/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;