Re: Q: javac -source and -target version

2023-10-04 Thread Emmanuel Bourg
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?

Re: Q: javac -source and -target version

2023-10-04 Thread Hideki Yamane
Hi, On Wed, 4 Oct 2023 19:49:44 +0200 Emmanuel Bourg wrote: > 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 sa

Re: Q: javac -source and -target version

2023-10-04 Thread Emmanuel Bourg
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, Mav

Q: javac -source and -target version

2023-10-04 Thread Hideki Yamane
Hi, Some of Java packages are FTBFS with Java21 due to javac -source and -target version is lower than that is supported in Java21. Well, is there any text / document to use which version should be used for -source and -target version, or is just dropgping those options allowed? Maybe I a