Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12705
| 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 | Wed, 04 Oct 2023 20:00:01 +0200 |
| Message-ID | <Hlek9-dwui-3@gated-at.bofh.it> (permalink) |
| References | <Hlc8F-dvgF-7@gated-at.bofh.it> |
| X-Original-To | Hideki Yamane <henrich@iijmio-mail.jp>, debian-java@lists.debian.org |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Wed Oct 4 17:50:07 2023 |
| Old-Return-Path | <ebourg@apache.org> |
| X-Amavis-Spam-Status | No, score=-13.368 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, NICE_REPLY_A=-3.058, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .apache. - helo: .mxout1-he-de.apache. - helo-domain: .apache.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| 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/23387 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/b55ab874-3d82-ff19-2d1f-27044ba7b309@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 15 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 4 Oct 2023 19:49:44 +0200 |
| X-Original-Message-ID | <b55ab874-3d82-ff19-2d1f-27044ba7b309@apache.org> |
| X-Original-References | <20231004203610.f74e4636690002bd633454d3@iijmio-mail.jp> |
| Xref | csiph.com linux.debian.maint.java:12705 |
Show key headers only | View raw
Le 04/10/2023 à 13:36, Hideki Yamane a écrit : > Well, is there any text / document to use which version should be > used for -source and -target version, or is just dropping those options > allowed? For Java 17 the minimum was 7, and with Java 21 the minimum is 8. For packages using ant, Maven or Gradle the level is adjusted automatically. You can drop the language level, but the package will require the same version or higher at runtime. We should probably provide the minimum language level supported as a variable in the /usr/share/java/java_defaults.mk file from java-common. 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