forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize
--add-exports=
and --add-opens=
flags
This is similar to the existing handling of `-source`, `-target`, and `--release`, where (unlike javac) we allow all the options to be mixed and matched, and let the last one win. With the module-related flags, they are accumulated and added to the command line only if the target level is 9 or higher, which corresponds to modules being enabled. PiperOrigin-RevId: 367471359
- Loading branch information
1 parent
e35aedf
commit c177d88
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters