Illegal reflection access denial in which future release

Claes Redestad claes.redestad at oracle.com
Mon Jun 8 14:09:28 UTC 2020


Hi Simeon,

it's not documented or discussed much anywhere because it's as-of-yet
undecided.

*Expectation* is that there'll be a JEP proposed to make
--illegal-access=deny the *default* in JDK 16. I expect the ability to
explicitly permit illegal accesses with --illegal-access=permit will
stick around for a good while longer, though.

Best regards
/Claes

On 2020-06-08 15:40, S A wrote:
> Hi all,
> 
> TL;DR is a future JDK release known, when illegal reflection access is no
> longer possible? If not, are there estimations / discussions / FAQs /
> documentation?
> 
> The product I work on (Eclipse+xtext IDE + backend) has nearly completed
> the move to OpenJDK 11 (from OpenJDK 8) and we are working on supposedly
> not pressing issues. One of those issues is illegal access via reflection.
> 
> We would obviously like to be prepared and so are estimating effort and
> time constraints of fixing illegal reflection access. As this includes
> multiple libraries, knowing *when* we need to finish our efforts is quite
> important.
> 
> Sorry if this has been asked before (I imagine yes), but searching for the
> topic yields lots of how to work around or fix the issue. Thank you in
> advance.
> 
> Best regards,
> Simeon
> 


More information about the jigsaw-dev mailing list