Skip to content

Commit

Permalink
Allow --add-exports with system modules even when --release is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfaff committed Apr 11, 2024
1 parent 2d457aa commit bea496b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ protected Modules(Context context) {
allowModules = Feature.MODULES.allowedInSource(source);
Options options = Options.instance(context);

allowAccessIntoSystem = options.isUnset(Option.RELEASE);
allowAccessIntoSystem = true;
lintOptions = options.isUnset(Option.XLINT_CUSTOM, "-" + LintCategory.OPTIONS.option);

multiModuleMode = fileManager.hasLocation(StandardLocation.MODULE_SOURCE_PATH);
Expand Down

0 comments on commit bea496b

Please sign in to comment.