Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package antlr-maven-plugin for 
openSUSE:Factory checked in at 2023-10-26 17:15:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/antlr-maven-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.24901 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "antlr-maven-plugin"

Thu Oct 26 17:15:10 2023 rev:5 rq:1120551 version:2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/antlr-maven-plugin/antlr-maven-plugin.changes    
2023-09-25 20:43:40.221866607 +0200
+++ 
/work/SRC/openSUSE:Factory/.antlr-maven-plugin.new.24901/antlr-maven-plugin.changes
 2023-10-26 17:16:04.299910721 +0200
@@ -1,0 +2,8 @@
+Thu Oct 26 12:08:10 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Added patch:
+  * jdk18plus.patch
+    + catch UnsupportedOperationException that SecurityManager in
+      JDK 21 throws instead of warning about deprecation
+
+-------------------------------------------------------------------

New:
----
  jdk18plus.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ antlr-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.qRY7Yz/_old  2023-10-26 17:16:04.763927763 +0200
+++ /var/tmp/diff_new_pack.qRY7Yz/_new  2023-10-26 17:16:04.767927910 +0200
@@ -31,6 +31,7 @@
 # Fix grammar processing bug (bz 1020312)
 Patch3:         0001-MANTLR-34-Fix-NPE-when-building-Jenkins.patch
 Patch4:         new-reporting-api.patch
+Patch5:         jdk18plus.patch
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
@@ -66,6 +67,7 @@
 %patch2 -b .sink
 %patch3 -p1 -b .fixnpe
 %patch4 -p1
+%patch5 -p1
 
 %pom_change_dep :maven-project :maven-core:3.9.3
 

++++++ jdk18plus.patch ++++++
--- 
antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java
 2010-11-16 16:59:34.000000000 +0100
+++ 
antlr-maven-plugin-2.2/src/main/java/org/codehaus/mojo/antlr/AbstractAntlrMojo.java
 2023-10-26 14:01:46.596367163 +0200
@@ -348,6 +348,10 @@
                                + "Antlr's call to System.exit() can cause 
application shutdown "
                                + "if not handled by the current 
SecurityManager." );
         }
+        catch ( UnsupportedOperationException exc )
+        {
+            getLog().warn( exc );
+        }
 
         String originalUserDir = null;
         if ( plan.getImportVocabTokenTypesDirectory() != null )

Reply via email to