You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zinc loads compiled classes to analyse Java<->Scala dependencies.
When it loads classes using Truffle API, it fails with an IllegalAccessError due to insufficient permsssions.
It may be possible to override this somehow.
Value
We are able to use incremental compilation with Java 11 builds.
Specification
Add code around JavaAnalyze that logs what modules are accessible by the classloader, if possible, to improve debugging
Explore why adding options to sbt's JVM doesn't seem to affect the classloaders permissions (we had to use --upgrade-module-path to replace with the more open Truffle JAR, instead of --module-path and --add-exports)
Explore if it is possible to programmatically change the permissions for the classloader to ignore the module issues
Ask (?) on the Graal Slack if they use some special classloader and if it is possible to use it
Acceptance Criteria & Test Cases
The tasks above have been completed or we know why it is impossible to do them
The text was updated successfully, but these errors were encountered:
Summary
Zinc loads compiled classes to analyse Java<->Scala dependencies.
When it loads classes using Truffle API, it fails with an IllegalAccessError due to insufficient permsssions.
It may be possible to override this somehow.
Value
We are able to use incremental compilation with Java 11 builds.
Specification
--upgrade-module-path
to replace with the more open Truffle JAR, instead of--module-path
and--add-exports
)Explore if it is possible to programmatically change the permissions for the classloader to ignore the module issuesAsk (?) on the Graal Slack if they use some special classloader and if it is possible to use itAcceptance Criteria & Test Cases
The text was updated successfully, but these errors were encountered: