Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package junit for openSUSE:Factory checked 
in at 2023-09-22 21:47:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/junit (Old)
 and      /work/SRC/openSUSE:Factory/.junit.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "junit"

Fri Sep 22 21:47:19 2023 rev:30 rq:1112743 version:4.13.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/junit/junit.changes      2023-03-25 
18:55:00.830556497 +0100
+++ /work/SRC/openSUSE:Factory/.junit.new.1770/junit.changes    2023-09-22 
21:48:28.647176481 +0200
@@ -1,0 +2,7 @@
+Thu Sep 21 07:53:02 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Let ant build with --release 8 if the compiler knows that option.
+  This allows us to avoid incompatible exception declarations
+  in ObjectInputStream.GetField.get(String,Object) in java >= 20
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ junit.spec ++++++
--- /var/tmp/diff_new_pack.WyF8wz/_old  2023-09-22 21:48:29.755216706 +0200
+++ /var/tmp/diff_new_pack.WyF8wz/_new  2023-09-22 21:48:29.759216852 +0200
@@ -110,7 +110,7 @@
 
 }
 EOF
-javac -cp %{buildroot}/%{_javadir}/%{name}.jar test.java
+javac -source 8 -target 8 -cp %{buildroot}/%{_javadir}/%{name}.jar test.java
 java -cp %{buildroot}/%{_javadir}/%{name}.jar: test 2>&1 | \
    grep 'Exception in thread "main" java.lang.AssertionError: Hello world from 
junit'
 

++++++ build.xml ++++++
--- /var/tmp/diff_new_pack.WyF8wz/_old  2023-09-22 21:48:29.791218013 +0200
+++ /var/tmp/diff_new_pack.WyF8wz/_new  2023-09-22 21:48:29.795218159 +0200
@@ -36,7 +36,8 @@
 
   <property name="maven.deploy.goal" 
value="org.apache.maven.plugins:maven-gpg-plugin:1.1:sign-and-deploy-file" />
   
-  <property name="compiler.source" value="1.8" />
+  <property name="compiler.release" value="8" />
+  <property name="compiler.source" value="1.${compiler.release}" />
   <property name="compiler.target" value="${compiler.source}" />
 
   <target name="init">
@@ -76,6 +77,7 @@
           debug="on"
           classpath="@{classpath}"
           includeantruntime="false"
+          release="${compiler.release}"
           source="${compiler.source}"
           target="${compiler.target}"
           >

Reply via email to