vendredi 14 décembre 2018

Get the current value of `-illegal-access` setting in Java

This article, JDK 9: Proposal to allow illegal reflective access by default, claims that the –permit-illegal-access option will be replaced by a more general option, –illegal-access.

  • –illegal-access=permit
  • –illegal-access=warn
  • –illegal-access=debug
  • –illegal-access=deny

➥ Did that happen? Is there a –illegal-access setting?

➥ How are these set? Arguments to launching the JVM?

➥ How does one get the current value during runtime?





Aucun commentaire:

Enregistrer un commentaire