Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12707
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emmanuel Bourg <ebourg@apache.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Q: javac -source and -target version |
| Date | Thu, 05 Oct 2023 01:40:01 +0200 |
| Message-ID | <HljDb-dAgY-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> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Wed Oct 4 23:37:05 2023 |
| Old-Return-Path | <ebourg@apache.org> |
| X-Amavis-Spam-Status | No, score=-16.068 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-3.058, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| X-Greylist | delayed 599 seconds by postgrey-1.36 at bendel; Wed, 04 Oct 2023 23:36:47 UTC |
| Authentication-Results | apache.org; auth=none |
| MIME-Version | 1.0 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 |
| Content-Language | en-US |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/23389 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/1d7e0df4-594d-6507-dfa9-fa7021c4ee18@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-java@lists.debian.org |
| X-Original-Date | Thu, 5 Oct 2023 01:26:11 +0200 |
| X-Original-Message-ID | <1d7e0df4-594d-6507-dfa9-fa7021c4ee18@apache.org> |
| X-Original-References | <20231004203610.f74e4636690002bd633454d3@iijmio-mail.jp> <b55ab874-3d82-ff19-2d1f-27044ba7b309@apache.org> <20231005080730.ab014b6dd1c1d9e87fac4639@iijmio-mail.jp> |
| Xref | csiph.com linux.debian.maint.java:12707 |
Show key headers only | View raw
Le 05/10/2023 à 01:07, Hideki Yamane a écrit :
>> We should probably provide the minimum language level supported as a
>> variable in the /usr/share/java/java_defaults.mk file from java-common.
>
> Nice, each Java packages do not need to care about which level
> should use and drop it safely, then?
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) ...
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.
Emmanuel Bourg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
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