Relative Content

Tag Archive for javaaopaspectjjava-17aspect

Necessary JVM arguments when using AspectJ

Is it necessary to pass the following flag --add-opens", "java.base/java.lang=ALL-UNNAMED when using AspectJ on JDK-17. If I don’t include this flag, I get the following error.