Re: Q: javac -source and -target version
Hi,
On Thu, 5 Oct 2023 01:26:11 +0200
Emmanuel Bourg <ebourg@apache.org> wrote:
> I've just uploaded java-common/0.75 with a new java_compat_level
> variable if you want to give it a try:
>
> #!/usr/bin/make -f
>
> include /usr/share/java/java_defaults.mk
>
> build:
> javac -source $(java_compat_level) -target $(java_compat_level) ...
Thank you, and how about adding java_compat_level=8 for Java21?
Since some FTBFS reports are there.
https://salsa.debian.org/java-team/java-common/-/merge_requests/3
> It's preferable to keep using the -source/-target options rather than
> removing them, it extends the lower bound of the Java versions range
> usable with the package.
Okay :)
--
Regards,
Hideki Yamane henrich @ debian.org/iijmio-mail.jp
Reply to: