RFR - 8065552: setAccessible(true) on fields of Class may throw a SecurityException

Mandy Chung mandy.chung at oracle.com
Mon Dec 1 19:17:43 UTC 2014

On 12/1/14 10:54 AM, Daniel Fuchs wrote:
>> on the test side would it be worth testing all public classes available
>> (e.g in rt.jar ?) to ensure that
>> Field.setAccessible works as expected and that we don't hit this issue
>> again ? It might be some
>> what of a heavy test for jtreg inclusion though.
> It could be worth a try. But let's wait until JEP 220 is in.

There will be a test to load all classes when we move to the modular image:


More information about the core-libs-dev mailing list