Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12708

Re: Q: javac -source and -target version

From Hideki Yamane <henrich@iijmio-mail.jp>
Newsgroups linux.debian.maint.java
Subject Re: Q: javac -source and -target version
Date 2023-10-08 05:30 +0200
Message-ID <HmsEq-eimW-1@gated-at.bofh.it> (permalink)
References <Hlc8F-dvgF-7@gated-at.bofh.it> <Hlek9-dwui-3@gated-at.bofh.it> <Hljaa-dA7q-7@gated-at.bofh.it> <HljDb-dAgY-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Q: javac -source and -target version Hideki Yamane <henrich@iijmio-mail.jp> - 2023-10-04 17:40 +0200
  Re: Q: javac -source and -target version Emmanuel Bourg <ebourg@apache.org> - 2023-10-04 20:00 +0200
    Re: Q: javac -source and -target version Hideki Yamane <henrich@iijmio-mail.jp> - 2023-10-05 01:10 +0200
      Re: Q: javac -source and -target version Emmanuel Bourg <ebourg@apache.org> - 2023-10-05 01:40 +0200
        Re: Q: javac -source and -target version Hideki Yamane <henrich@iijmio-mail.jp> - 2023-10-08 05:30 +0200
          Re: Q: javac -source and -target version Emmanuel Bourg <ebourg@apache.org> - 2023-10-10 23:30 +0200

csiph-web