RFR 8161947 runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev

Paul Sandoz paul.sandoz at oracle.com
Thu Jul 21 13:30:14 UTC 2016

> On 21 Jul 2016, at 14:04, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 21/07/2016 12:40, Paul Sandoz wrote:
>> Hi,
>> The fix for:
>>   https://bugs.openjdk.java.net/browse/JDK-8161129
>>   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.

Updated, thanks,

More information about the core-libs-dev mailing list