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
--- 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;