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: Java 18+ Builds #2

Closed
wants to merge 2 commits into from
Closed

Fix: Java 18+ Builds #2

wants to merge 2 commits into from

Conversation

sgammon
Copy link
Owner

@sgammon sgammon commented Mar 8, 2024

Summary

Amends the build to be compatible with JDKs newer than 18.

Note

This PR is under testing before it is ultimately filed against google/guava.

Changelog

  • fix: build against embedded jdk sources needs --enable-preview when built against jvm21
  • fix: add -Djava.security.manager=allow to fix security manager tests under modern java

@sgammon sgammon added the bug Something isn't working label Mar 8, 2024
@sgammon sgammon self-assigned this Mar 8, 2024
@sgammon sgammon force-pushed the chore/build-jdk21 branch from 90cb46e to f8b687a Compare March 8, 2024 02:52
sgammon added 2 commits March 7, 2024 19:30
- fix: build against embedded jdk sources needs `--enable-preview`
  when built against jvm21

- fix: add `-Djava.security.manager=allow` to fix security manager
  tests under modern java

Fixes and closes google#7065

Signed-off-by: Sam Gammon <[email protected]>
@sgammon sgammon force-pushed the chore/build-jdk21 branch from 2c02d4e to 77cd546 Compare March 8, 2024 03:30
@sgammon sgammon added enhancement New feature or request and removed bug Something isn't working labels Mar 8, 2024
@sgammon sgammon force-pushed the master branch 7 times, most recently from 5801bcf to 0b1c477 Compare March 8, 2024 05:56
@sgammon
Copy link
Owner Author

sgammon commented Mar 8, 2024

(This was a draft, closing)

@sgammon sgammon closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant