Proposal: Allow illegal reflective access by default in JDK 9

Stephen Felts stephen.felts at oracle.com
Fri May 19 13:48:29 UTC 2017


By the way, there is no available API so that one can write

 

If an object is not accessible and setAccessible on the object will succeed

  call setAccessible

 

That means that the code needs to call setAccessible and handle the exception, which triggers a warning.

 

 

 


More information about the jigsaw-dev mailing list