RFR 8161947 runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
Alan.Bateman at oracle.com
Thu Jul 21 12:04:35 UTC 2016
On 21/07/2016 12:40, Paul Sandoz wrote:
> The fix for:
> 8161129 Unsafe::getUnsafe should allow the platform class loader to access it
> broke a test in the Hotspot repo test area that i did not realize existed. That test can be deleted. There is an existing test in the JDK repo test area that tests the same functionality in sun.misc.Unsafe, which is arguably the right location, i have renamed that test.
Make sense. For the test in the jdk repo then maybe it should be changed
to catch SecurityException rather than Exception.
More information about the core-libs-dev