test/serviceability/dcmd/compiler/CodelistTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/serviceability/dcmd/CodelistTest.java	Tue Sep 23 13:56:33 2014
--- new/test/serviceability/dcmd/compiler/CodelistTest.java	Tue Sep 23 13:56:33 2014

*** 22,31 **** --- 22,32 ---- */ /* * @test CodelistTest * @bug 8054889 + * @library .. * @build DcmdUtil MethodIdentifierParser CodelistTest * @run main CodelistTest * @summary Test of diagnostic command Compiler.codelist */
*** 75,94 **** --- 76,98 ---- continue; } if (methodPrintedInLogFormat.contains("<clinit>")) { continue; } + if (methodPrintedInLogFormat.contains("MethodHandle")) { + continue; + } MethodIdentifierParser mf = new MethodIdentifierParser(methodPrintedInLogFormat); Method m; try { m = mf.getMethod(); } catch (NoSuchMethodException e) { m = null; } if (m == null) { ! throw new Exception("Test failed on: " + methodPrintedInLogFormat); } if (count > 10) { // Testing 10 entries is enough. Lets not waste time. break; }

test/serviceability/dcmd/compiler/CodelistTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File