[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#912292: marked as done (lintian: Update Java bytecode checks for openjdk-11)



Your message dated Thu, 08 Nov 2018 23:35:30 +0000
with message-id <E1gKtpi-000FyK-EV@fasolo.debian.org>
and subject line Bug#912292: fixed in lintian 2.5.112
has caused the Debian Bug report #912292,
regarding lintian: Update Java bytecode checks for openjdk-11
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
912292: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912292
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: lintian
Version: 2.5.110
Severity: normal
Tags: patch

Dear Maintainer,

Now that openjdk-11 is the default JDK & JRE in unstable, the Java
bytecode checks in lintian need to be updated again, as per the attached
patch.

Note that the bytecode version for the upcoming Java12 is assumed to be
56, but this may not be the case. max-bytecode-existing-version has not
been incremented because of that.

Kind Regards,

Bas
>From 7d25cdc4c055b0c06962e8cc23a5ac0f8f4c7702 Mon Sep 17 00:00:00 2001
From: Bas Couwenberg <sebastic@xs4all.nl>
Date: Mon, 29 Oct 2018 22:21:53 +0100
Subject: Update Java bytecode checks for openjdk-11.

---
 checks/java.desc                              | 2 +-
 checks/java.pm                                | 3 ++-
 data/java/constants                           | 7 ++++---
 t/tests/java-class-format/debian/debian/rules | 4 ++--
 t/tests/java-class-format/tags                | 2 +-
 5 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/checks/java.desc b/checks/java.desc
index 78e7e03f2..db1c491f0 100644
--- a/checks/java.desc
+++ b/checks/java.desc
@@ -91,7 +91,7 @@ Info: The package contains a Jar file with Java class files compiled for an
  for a newer version of Java than Lintian knows about.  In the latter case,
  please file a bug against Lintian.
  .
- The latest class version known by Lintian is Java10 (Major version 54).
+ The latest class version known by Lintian is Java11 (Major version 55).
 
 Tag: zip-parse-error
 Severity: normal
diff --git a/checks/java.pm b/checks/java.pm
index 1c2c97598..19e670fab 100644
--- a/checks/java.pm
+++ b/checks/java.pm
@@ -98,7 +98,7 @@ sub run {
                 or $mver
                 > $MAX_BYTECODE->value('max-bytecode-existing-version')) {
                 # First public major version was 45 (Java1), latest
-                # version is 54 (Java10).
+                # version is 55 (Java11).
                 tag 'unknown-java-class-version', $jar_file,
                   "($class -> $mver)";
                 # Skip the rest of this Jar.
@@ -215,6 +215,7 @@ sub run {
         #     52 -> Java8
         #     53 -> Java9
         #     54 -> Java10
+        #     55 -> Java11
         my $bad = 0;
 
         # If the lowest version used is greater than the requested
diff --git a/data/java/constants b/data/java/constants
index b08e0cfd4..ebb45af62 100644
--- a/data/java/constants
+++ b/data/java/constants
@@ -6,9 +6,10 @@
 #     51 -> Java7
 #     52 -> Java8
 #     53 -> Java9
-#     54 -> Java10 - Current max version in Debian unstable
-#     55 -> Java11
-max-bytecode-version = 54
+#     54 -> Java10
+#     55 -> Java11 - Current max version in Debian unstable
+#     56 -> Java12
+max-bytecode-version = 55
 
 max-bytecode-existing-version = 55
 
diff --git a/t/tests/java-class-format/debian/debian/rules b/t/tests/java-class-format/debian/debian/rules
index b79c40c78..59235963f 100755
--- a/t/tests/java-class-format/debian/debian/rules
+++ b/t/tests/java-class-format/debian/debian/rules
@@ -7,8 +7,8 @@ override_jh_build:
 	unzip test.jar
 	# Unknown class version
 	perl -i -pe 's/^(\xCA\xFE\xBA\xBE...)./$$1\x2A/' org/debian/lintian/TestA.class
-	# Java11 (unsupported)
-	perl -i -pe 's/^(\xCA\xFE\xBA\xBE...)./$$1\x37/' org/debian/lintian/TestB.class
+	# Java12 (unsupported)
+	perl -i -pe 's/^(\xCA\xFE\xBA\xBE...)./$$1\x38/' org/debian/lintian/TestB.class
 	# Put them in separate Jars because Lintian stops when the first
 	# "unknown class format" is seen
 	zip -r testa.jar META-INF/ org/debian/lintian/TestA.class
diff --git a/t/tests/java-class-format/tags b/t/tests/java-class-format/tags
index 588eb01c0..aa21ea634 100644
--- a/t/tests/java-class-format/tags
+++ b/t/tests/java-class-format/tags
@@ -1,2 +1,2 @@
-W: libtest-java: incompatible-java-bytecode-format Java11 version (Class format: 55)
+W: libtest-java: incompatible-java-bytecode-format Java12 version (Class format: 56)
 W: libtest-java: unknown-java-class-version usr/share/java/testa-1.0.jar (org/debian/lintian/TestA.class -> 42)
-- 
2.11.0


--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.112

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 912292@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 08 Nov 2018 22:29:31 +0000
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.112
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 lintian    - Debian package checker
Closes: 912292 912330 913078 913099
Changes:
 lintian (2.5.112) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - public-upstream-key-in-native-package
       - public-upstream-key-not-minimal
       - public-upstream-key-unusable
       - public-upstream-keys-in-multiple-locations
       - systemd-service-file-pidfile-refers-to-var-run
 .
   * checks/cruft.desc:
     + [CL] Bump the severity of the source-contains-prebuilt-windows-binary
       tag from "P:" to "W:" and update the description to mention that this
       could potentially be a DFSG violation.
   * checks/systemd.{desc,pm}:
     + [CL] Warn if a PIDFile entry in a .service unit references /var/run.
       (Closes: #913078)
   * checks/upstream-signing-key.{desc,pm}:
     + [CL] Apply a patch series from Felix Lechner to add multiple tests
       for upstream GPG keys.  Thanks!  (MR: !62)
 .
   * data/java/constants:
     + [CL] Apply patches from Bas Couwenberg to update the bytecode checks
       for OpenJDK 11.  (Closes: #912292)
   * data/rules/rules-should-not-use:
     + [CL] Ensure --dbgsym-migration='quoted with spaces' is correctly
       displayed when emitting debug-symbol-migration-possibly-complete.
   * data/spelling/corrections:
     + [PW] Add a number of corrections.
 .
   * debian/control:
     + [CL] Apply a patch from Mathieu Parent to add a dependency on
       dpkg-dev to ensure dpkg-architecture is available.  Thanks!
       (Closes: #912330)
 .
   * t/*:
     + [CL] Apply a patch from Adam Conrad to fix two tests on non-amd64
       architectures in Ubuntu.  Thanks!  (Closes: #913099)
     + [CL] Apply a patch series Felix Lechner to parameterise the source
       format in all applicable tests.  (MR: !64)
     + [CL] Apply a patch series from Felix Lechner to parameterise the
       package architecture for all tests that build only single binary
       package.  (MR: !68)
   * t/tests/basic-non-native-with-epoch/desc:
     + [CL] Apply a patch from Felix Lechner to correct a test "Type" field.
       (MR: !63)
   * t/tests/watch-file-pgpmode-next/*:
     + [CL] Apply a patch series from Felix Lechner to add missing "-I -E"
       options to the existing "--pedantic" one.  (MR: !67)
 .
   * vendors/ubuntu/main/data/changes-file/known-dists:
     + [CL] Add "disco" as a known Ubuntu distribution.
Checksums-Sha1:
 8fc5d099123e5856824ed83919c7dbe1d46f690e 3507 lintian_2.5.112.dsc
 69733d82324ca203dfc63baa57ee40147ea4f647 1611372 lintian_2.5.112.tar.xz
 590e651c17f832b456b854ccfc4dc53d74c9aaf1 1143516 lintian_2.5.112_all.deb
 82a821b28b71a743fa37580afa5c9989da8a73ee 17585 lintian_2.5.112_amd64.buildinfo
Checksums-Sha256:
 de38791686eea190f379290adf1ca7ce23fde851b38f097bf1f385c1449e06d7 3507 lintian_2.5.112.dsc
 556d84309d50783219c56bbfe1475c2f34be69214428d1516e651eaf82999469 1611372 lintian_2.5.112.tar.xz
 dcdf828c03d52a0f383706170f805093f8ff3660706c1f7eb148a307c078b12d 1143516 lintian_2.5.112_all.deb
 c38887cb026b661312343911e5269a861ec3be5f3c02bc752977909825a88f64 17585 lintian_2.5.112_amd64.buildinfo
Files:
 f011cbe32feda18885b33125d9813ced 3507 devel optional lintian_2.5.112.dsc
 4cc5f16434c050dfe01ef2094639dd7c 1611372 devel optional lintian_2.5.112.tar.xz
 3fec816d0083169edb052b73c3343d71 1143516 devel optional lintian_2.5.112_all.deb
 dd209edfa76887301e3493d2301d8756 17585 devel optional lintian_2.5.112_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAlvkvcYACgkQHpU+J9Qx
HlhcSg/8D4MHHkaE/XNzvYqDH6sXOf4+UzsRn59GWtWG9UWbL2PAuxQb7V7XQre3
WTFwCFtBq40geQ+C3hr+kfCg+IyESMpTaJPVIZFb29D0ySXq+ZvBbIiwY8hspMZL
T4/xFCkTTwsGNUSZX+odr2FUujJ4MECgZ+/x3cjCN+fwhkyf80ZtmWx4fCuawupr
kVD3ScKO9W+85vDlPUvu3XmjGB+Ged0bMzddabVIf6jaDoMjQiEFaVTwSqhnV5b4
Z7GV27VAaO1jNtX5u5r8Z3sQQcJGoFqLZhXk/XA16+zQeSZU1d34NaPL9gnolcLn
HJWkvvZTfaW3As+djXwqsuDq6o0THWDabZp7BXcCbPrxaCFKpTG8wnEZj1+Cw5Ar
jsebyHeJqhBhan50ePaIuOvKIWkIgXuKjyIEnySyPjxXDHDtHJ1704r3y6QjOW2a
+oMrE54c+ybnVOcblPSQe04JVz0tuqLWM6ztBqXbvX1GdHgmtqJWplr+wxuqFbYF
7TxiVCtRkVocfQpYW8vkfvT9UIzYrT/eql5ioz5uD+GyQU+I8LOg73eJAoe6eu/P
fFvMGovUVqJOAlo4idRl7/KIrEbRR8yFddJ9UwHCTEMInTHzPGnKohxL7rnTZr0r
Y/qs6rpVMUaUAdntX/7/U3bHgmwOLE85xDO+rIK/pacPU65Pij0=
=T0DG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: