Commit 0f553407 authored by Markus Koschany's avatar Markus Koschany

Lower the minimum required source/target level to 1.6 again.

This is acceptable for OpenJDK 11 but must be reverted for OpenJDK 12.

Thanks: Bdale Garbee for the report and patch.
Closes: #906785
parent 409625fb
ant (1.10.5-1.bdale.1) UNRELEASED; urgency=medium
* adjust the version warping patch to preserve Java 1.6 compatibility
-- Bdale Garbee <bdale@gag.com> Mon, 20 Aug 2018 20:49:25 -0600
ant (1.10.5-1) unstable; urgency=medium
* Team upload.
......
......@@ -67,10 +67,10 @@ Forwarded: no
+class LanguageLevel {
+
+ /** The minimum language level supported by the current javac */
+ private static final String MIN_LEVEL = "7";
+ private static final String MIN_LEVEL = "6";
+
+ /** The list of language levels no longer supported by the current javac */
+ private static final List<String> UNSUPPORTED_LEVELS = Arrays.asList(new String[]{"1.1", "1.2", "1.3", "1.4", "1.5", "5", "1.6", "6"});
+ private static final List<String> UNSUPPORTED_LEVELS = Arrays.asList(new String[]{"1.1", "1.2", "1.3", "1.4", "1.5", "5"});
+
+ /** Detect if a Debian build is in process */
+ static boolean isDebianBuild() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment