Skip to content
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

Merged
merged 3 commits into from
Mar 30, 2022
Merged

Conversation

carterkozak
Copy link
Contributor

Otherwise the plugin interacts poorly with
BaselineReleaseCompatibility because --release and internal
module exports/opens cannot be used at the same time.

==COMMIT_MSG==
Fix BaselineModuleJvmArgs without toolchains
==COMMIT_MSG==

Otherwise the plugin interacts poorly with
`BaselineReleaseCompatibility` because `--release` and internal
module exports/opens cannot be used at the same time.
@changelog-app
Copy link

changelog-app bot commented Mar 30, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Fix BaselineModuleJvmArgs without toolchains

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from robert3005 March 30, 2022 14:21
// 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')
}
Copy link
Contributor Author

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.

Copy link
Contributor

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.

@fawind fawind merged commit d33953a into develop Mar 30, 2022
@fawind fawind deleted the ckozak/fix_non_toolchain branch March 30, 2022 15:55
@svc-autorelease
Copy link
Collaborator

Released 4.83.0

bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Mar 30, 2022
###### _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.
This was referenced Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants