#1011592 plexus-utils2: FTBFS with OpenJDK 17 due to an illegal reflective access during the tests #1011592
- Package:
- src:plexus-utils2
- Source:
- plexus-utils2
- Submitter:
- Emmanuel Bourg
- Date:
- 2022-05-27 14:54:10 UTC
- Severity:
- important
- Tags:
plexus-utils2 fails to build with OpenJDK 17, the tests make an illegal
reflective accesses into java.base/java.lang:
[INFO] Running org.codehaus.plexus.util.ReflectionUtilsTest
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 s <<< FAILURE! - in org.codehaus.plexus.util.ReflectionUtilsTest
[ERROR] testComplexVariableAccess(org.codehaus.plexus.util.ReflectionUtilsTest) Time elapsed: 0.001 s <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final int java.lang.Class.ANNOTATION accessible: module java.base does not "opens java.lang" to unnamed module @4cfaf581
at org.codehaus.plexus.util.ReflectionUtilsTest.testComplexVariableAccess(ReflectionUtilsTest.java:49)
Hello, Bug #1011592 in plexus-utils2 reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/plexus-utils2/-/commit/4fe908463ccd2907b9c3abff5688d2e601560e32 (this message was generated automatically) -- Greetings https://bugs.debian.org/1011592
We believe that the bug you reported is fixed in the latest version of plexus-utils2, 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 1011592@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Emmanuel Bourg <ebourg@apache.org> (supplier of updated plexus-utils2 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) Format: 1.8 Date: Fri, 27 May 2022 16:02:10 +0200 Source: plexus-utils2 Architecture: source Version: 3.3.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org> Changed-By: Emmanuel Bourg <ebourg@apache.org> Closes: 1011592 Changes: plexus-utils2 (3.3.0-2) unstable; urgency=medium . * Team upload. * Fixed the build failure with OpenJDK 17 (Closes: #1011592) Checksums-Sha1: aae424f02c84ce185d8969615002646daf838705 2220 plexus-utils2_3.3.0-2.dsc 9fbd55882c52c39b3b562598b38ecb4e7e508a40 6896 plexus-utils2_3.3.0-2.debian.tar.xz 85f0ab5104fc26b777cab6c2b34589858cdaf9af 15198 plexus-utils2_3.3.0-2_source.buildinfo Checksums-Sha256: 3b9851e030a7c821099efee7aeed1505cf24756e457c70d7f22194bc9e8ba21f 2220 plexus-utils2_3.3.0-2.dsc 89a941e1f5b40fc04711e51650fe40b6fe76bcd702c3c5ff1ff21ec648b6c928 6896 plexus-utils2_3.3.0-2.debian.tar.xz 21dd92fc1ca1e9cb7850b4526a96ef12a13323147c01a747a553de2a53321cb7 15198 plexus-utils2_3.3.0-2_source.buildinfo Files: c58b60894338f38f0c9fbc36bfe9388f 2220 java optional plexus-utils2_3.3.0-2.dsc 2c85425fccf149ea6f6ad3275803f3da 6896 java optional plexus-utils2_3.3.0-2.debian.tar.xz 45e868e3c7444ab64a937b7cb523937a 15198 java optional plexus-utils2_3.3.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmKQ2gsSHGVib3VyZ0Bh cGFjaGUub3JnAAoJEPUTxBnkudCsptUQAJWP8/67F3dI7BzwRVNTGhEXTXs4rqQ3 Dm7L8omOIbBQAKe4kreyXiLI92NcSvwsGYqSHEJ7YBlx6bMfHvbf2/R24BgH2nyv +6XzQ33ZH3Tqs4S0gzxQqFgNiQFMkvTdRHorO9o7MYtfH3rvD16fDrBayLHyPY0L OgSbPTL3Vy4Lq5N2lVzmQJBwGn25Y1aKKQH5ik1FTwATWtf7Qm+ht+zJR80FHSh2 5hi9S0cUGzxPuXGNKhdgQ5QA4Ow1ZN941bykEHr+mc0nt14fGrmz+lR/nzIGLwLy R+7QFI63zNsEcc66YYi3ynfbQ2yIgK9mIj91EI9VITHcAMum/JojalMM5UITL4vw c8yH4L2OzYWEr09lXHaDzPPr67YeAj+6fqXVDtQQO8vvzsYui3ipmvreJzrmGLEB Q3u560EqT7EYkODN8i5LFkwBQVQutP7RXmKV4pBs8s21F3Ro5HaC8meKTd8RDFcu aBj2/p7jYtF1DXEIYLAK7gU9pBowkS0nZPPkRrJ7P3xlorU8CwrKwUnZK9uElQQw eTs0Y3CfEywFvV2EgKDjZeHhAf44GtzbP/u+j9Mh6V0x3uN30+IA7Gl5OIc46ACw wxZzItqO/FIahEXgWj6lG5xQAB9BtDfLJG36u/t7GyI7Swf7BvXLrY2GtfW2cQ3X UCyUuL4tZDy4 =E4zL -----END PGP SIGNATURE-----