-
Notifications
You must be signed in to change notification settings - Fork 242
JDK21 build problem with gmake: Makefile contains '-source 1.7' and '-target 1.7' #532
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
Comments
I've checked, and build with |
Good cath. Targeting JDK8 should be no problem. Whenever you have time, I'd appreciate a PR for the fix. |
With this patch build for me too on OpenJDK 21.0.3+9.1, FreeBSD 14.1 amd64. |
freebsd-git
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
Jul 26, 2024
In Java 21 compiler removed support for source and target 1.7 (7). PR: 280316 Approved by: Angelo Polo <language.devel@gmail.com> Obtained from: xerial/snappy-java#532
jdbp-classpass
added a commit
to jdbp-classpass/snappy-java
that referenced
this issue
May 7, 2025
This will allow snappy-java to build with JDK 21. Resolves xerial#532
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Makefile
still contains:It fails with JDK21, as
1.7
is deprecated.The text was updated successfully, but these errors were encountered: