[Git][java-team/plexus-compiler][master] 3 commits: Adjust the source/target level from 6 to 7 to support Java 12 or later

Emmanuel Bourg gitlab at salsa.debian.org
Thu Jan 21 11:49:03 GMT 2021



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / plexus-compiler


Commits:
9f28a46b by Emmanuel Bourg at 2021-01-21T12:45:42+01:00
Adjust the source/target level from 6 to 7 to support Java 12 or later

- - - - -
2bc2c515 by Emmanuel Bourg at 2021-01-21T12:45:50+01:00
Standards-Version updated to 4.5.1

- - - - -
d101ea7d by Emmanuel Bourg at 2021-01-21T12:46:13+01:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/patches/auto-adjust-language-level.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+plexus-compiler (2.8.8-2) unstable; urgency=medium
+
+  * Team upload.
+  * Adjust the source/target level from 6 to 7 to support Java 12 or later
+  * Standards-Version updated to 4.5.1
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 21 Jan 2021 12:46:08 +0100
+
 plexus-compiler (2.8.8-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -16,7 +16,7 @@ Build-Depends:
  libplexus-container-default-java,
  libplexus-utils2-java,
  maven-debian-helper (>= 1.5)
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Vcs-Git: https://salsa.debian.org/java-team/plexus-compiler.git
 Vcs-Browser: https://salsa.debian.org/java-team/plexus-compiler
 Homepage: https://codehaus-plexus.github.io/plexus-compiler/


=====================================
debian/patches/auto-adjust-language-level.patch
=====================================
@@ -7,7 +7,7 @@ Forwarded: not-needed
          }
          else
          {
-+            List<String> unsupportedLanguageLevels = java.util.Arrays.asList(new String[]{"1.1", "1.2", "1.3", "1.4", "1.5", "5"});
++            List<String> unsupportedLanguageLevels = java.util.Arrays.asList(new String[]{"1.1", "1.2", "1.3", "1.4", "1.5", "5", "1.6", "6"});
 +
              // TODO: this could be much improved
              if ( StringUtils.isEmpty( config.getTargetVersion() ) )
@@ -19,7 +19,7 @@ Forwarded: not-needed
 +            }
 +            else if ( unsupportedLanguageLevels.contains( config.getTargetVersion() ) )
 +            {
-+                System.err.println( "Use of target " + config.getTargetVersion() + " is no longer supported, switching to 1.7" );
++                System.err.println( "Use of target " + config.getTargetVersion() + " is no longer supported, switching to 7" );
 +                args.add( "-target" );
 +                args.add( "1.7" );
              }
@@ -34,7 +34,7 @@ Forwarded: not-needed
 +            }
 +            else if ( !suppressSource( config ) && unsupportedLanguageLevels.contains( config.getSourceVersion() ) )
 +            {
-+                System.err.println( "Use of source " + config.getSourceVersion() + " is no longer supported, switching to 1.7" );
++                System.err.println( "Use of source " + config.getSourceVersion() + " is no longer supported, switching to 7" );
 +                args.add( "-source" );
 +                args.add( "1.7" );
              }



View it on GitLab: https://salsa.debian.org/java-team/plexus-compiler/-/compare/5f6a4c2242da5abba94e7df588db10648f43cd91...d101ea7d4e7a7f81572d24d8f7a10d4016615f8b

-- 
View it on GitLab: https://salsa.debian.org/java-team/plexus-compiler/-/compare/5f6a4c2242da5abba94e7df588db10648f43cd91...d101ea7d4e7a7f81572d24d8f7a10d4016615f8b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20210121/1be4d879/attachment.html>


More information about the pkg-java-commits mailing list