Open
Description
JDK 17 strongly encapsulates JDK internals, so many libraries need --add-opens=
and --add-exports=
JVM flags. Bazel's Java rules support adding those flags through java_library(add_opens = [...], add_exports = [...])
, and these fields are read in Bazel's java_binary
rule:
However it appears that the rules_scala doesn't read those fields when filling out the executable template:
Additionally, it would be nice if scala_library
, scala_binary
, and scala_import
support add_opens
and add_exports
attributes also, but it's not as urgent as the first issue.
Metadata
Metadata
Assignees
Labels
No labels