summaryrefslogtreecommitdiffstats
tag namejava16-add-opens (63adfb5425ce717207da8251c56124fc4905fe43)
tag date2021-03-23 19:43:07 +0700
tagged byAlexander Kriegisch <Alexander@Kriegisch.name>
tagged objectcommit 79e44360cd...
downloadaspectj-java16-add-opens.tar.gz
aspectj-java16-add-opens.zip
Make all tests run on Java 16 via '-add-opens' JVM option
Due to JEP 260 (Encapsulate Most Internal APIs), aspect weaving on Java 16 now requires '--add-opens java.base/java.lang=ALL-UNNAMED' on the command line. Otherwise there will be illegal access exceptions for some internal API calls AspectJ needs, most prominently when trying to define classes in other packages or modules. If in the future we find a way to access the functionality involved again without adding CLI parameters, this tag helps identify the commit which should be reverted.