Pierre Gruet pushed to branch master at Debian Java Maintainers / antlr-maven-plugin
Commits: d4f7209e by Pierre Gruet at 2024-08-18T11:26:44+02:00 Raising d/watch version to 4 - - - - - 5cb368b3 by Pierre Gruet at 2024-08-18T11:27:13+02:00 Removing auto-generated d/README.source file - - - - - 2b0bf199 by Pierre Gruet at 2024-08-18T11:31:56+02:00 R-R-R: no - - - - - 4d39ae09 by Pierre Gruet at 2024-08-18T11:32:22+02:00 Raising Standards version to 4.7.0 - - - - - 46b7315f by Pierre Gruet at 2024-08-18T12:15:06+02:00 Catching UnsupportedOperationException thrown by setSecurityManager - - - - - 564dc03f by Pierre Gruet at 2024-08-18T12:15:55+02:00 Updating changelog - - - - - 4b21df6a by Pierre Gruet at 2024-08-18T12:16:14+02:00 Upload to unstable - - - - - 6 changed files: - − debian/README.source - debian/changelog - debian/control - + debian/patches/catch-security-manager-exception.patch - debian/patches/series - debian/watch Changes: ===================================== debian/README.source deleted ===================================== @@ -1,9 +0,0 @@ -Information about antlr-maven-plugin ------------------------------- - -This package was debianized using the mh_make command -from the maven-debian-helper package. - -The build system uses Maven but prevents it from downloading -anything from the Internet, making the build compliant with -the Debian policy. ===================================== debian/changelog ===================================== @@ -1,3 +1,15 @@ +antlr-maven-plugin (2.2-6) unstable; urgency=medium + + * Team upload + * Catching UnsupportedOperationException thrown by setSecurityManager, thanks + to Vladimir Petko (Closes: #1053206) + * Raising Standards version to 4.7.0: + - Setting Rules-Requires-Root: no + * Raising d/watch version to 4 + * Removing auto-generated d/README.source file + + -- Pierre Gruet <[email protected]> Sun, 18 Aug 2024 12:16:07 +0200 + antlr-maven-plugin (2.2-5) unstable; urgency=medium * Fixed the build failure with doxia 1.11 ===================================== debian/control ===================================== @@ -22,10 +22,11 @@ Build-Depends: libsurefire-java (>= 2.4.3), libwagon-provider-api-java, maven-debian-helper (>= 2.2) -Standards-Version: 4.6.2 +Standards-Version: 4.7.0 Vcs-Git: https://salsa.debian.org/java-team/antlr-maven-plugin.git Vcs-Browser: https://salsa.debian.org/java-team/antlr-maven-plugin Homepage: http://mojo.codehaus.org/antlr-maven-plugin/ +Rules-Requires-Root: no Package: libantlr-maven-plugin-java Architecture: all ===================================== debian/patches/catch-security-manager-exception.patch ===================================== @@ -0,0 +1,19 @@ +Description: catching UnsupportedOperatio$nException in case the security + manager is not set; in that case, setSecurityManager throws this exception. +Author: Vladimir Petko <[email protected]> +Bug-Debian: https://bugs.debian.org/1053206 +Forwarded: no +Reviewed-by: Pierre Gruet <[email protected]> +Last-Update: 2024-08-18 + +--- a/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java ++++ b/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java +@@ -337,7 +337,7 @@ + oldSm = System.getSecurityManager(); + System.setSecurityManager( NoExitSecurityManager.INSTANCE ); + } +- catch ( SecurityException ex ) ++ catch ( UnsupportedOperationException | SecurityException ex ) + { + // ANTLR-12 + oldSm = null; ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ null-options-check.patch modello-1.1.patch +catch-security-manager-exception.patch ===================================== debian/watch ===================================== @@ -1,4 +1,4 @@ -version=3 +version=4 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ http://svn.codehaus.org/mojo/tags/ \ antlr-maven-plugin-(\d.*)/ debian debian/orig-tar.sh View it on GitLab: https://salsa.debian.org/java-team/antlr-maven-plugin/-/compare/60903f4904f4bb7b0c5004ebc5b2e29c1c016d81...4b21df6af401ed672d838f15e561ca5d1d3f6a7b -- View it on GitLab: https://salsa.debian.org/java-team/antlr-maven-plugin/-/compare/60903f4904f4bb7b0c5004ebc5b2e29c1c016d81...4b21df6af401ed672d838f15e561ca5d1d3f6a7b You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

