-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BaselineModuleJvmArgs without toolchains #2148
Conversation
Otherwise the plugin interacts poorly with `BaselineReleaseCompatibility` because `--release` and internal module exports/opens cannot be used at the same time.
Generate changelog in
|
// Gradle appears to normalize args, joining '--add-exports java.management/sun.management=ALL-UNNAMED' | ||
// with an equals. | ||
result.standardOutput.contains('--add-exports=java.management/sun.management=ALL-UNNAMED') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment this test does not reproduce the problem because we run baseline with a java 11 toolchain.
I verified the fix using #2149 locally, but I didn't include it in this change as it's likely to impact other tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged in develop to include running tests on Java 15 now.
Released 4.83.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.83.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | Fix BaselineModuleJvmArgs without toolchains | palantir/gradle-baseline#2148 | To enable or disable this check, please contact the maintainers of Excavator.
Otherwise the plugin interacts poorly with
BaselineReleaseCompatibility
because--release
and internalmodule exports/opens cannot be used at the same time.
==COMMIT_MSG==
Fix BaselineModuleJvmArgs without toolchains
==COMMIT_MSG==