RFR 8146620: CodelistTest.java fails with "Test failed on: jdk.internal.misc.Unsafe.getUnsafe()Ljdk/internal/misc/Unsafe;"

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Fri Jan 8 08:57:51 UTC 2016


Please, review the following simple test fix

Issue : https://bugs.openjdk.java.net/rest/api/latest/issue/JDK-8146620
Webrev: http://cr.openjdk.java.net/~jbachorik/8146620/webrev.00

The test is treating the 'sun.misc.Unsafe.getUnsafe()' entry from the 
code list in a specific way - but since now it is possible to meet also 
the 'jdk.internal.misc.Unsafe.getUnsafe()' entry it is necessary to 
modify the test to expect this eventuality.

Thanks,

-JB-


More information about the serviceability-dev mailing list