Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jersey for openSUSE:Factory checked 
in at 2022-03-08 20:32:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jersey (Old)
 and      /work/SRC/openSUSE:Factory/.jersey.new.2349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jersey"

Tue Mar  8 20:32:21 2022 rev:4 rq:960201 version:2.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/jersey/jersey.changes    2021-05-12 
19:32:59.810854339 +0200
+++ /work/SRC/openSUSE:Factory/.jersey.new.2349/jersey.changes  2022-03-11 
11:44:44.242841182 +0100
@@ -1,0 +2,9 @@
+Tue Mar  8 12:21:09 UTC 2022 - Fridrich Strba <fst...@suse.com>
+
+- Do not force building with java 8
+- Added patch:
+  * jersey-2.28-contended.patch
+    + Do not use the sun.misc.Contended annotation that is not
+      present in java > 8
+
+-------------------------------------------------------------------

New:
----
  jersey-2.28-contended.patch

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

Other differences:
------------------
++++++ jersey.spec ++++++
--- /var/tmp/diff_new_pack.5jyqkL/_old  2022-03-11 11:44:44.706841703 +0100
+++ /var/tmp/diff_new_pack.5jyqkL/_new  2022-03-11 11:44:44.714841712 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package jersey
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 # Keep working with old deps in Fedora
 Patch2:         0002-Port-to-glassfish-jsonp-1.0.patch
 Patch3:         0003-Port-to-hibernate-validation-5.x.patch
+Patch4:         jersey-2.28-contended.patch
 BuildRequires:  maven-local
 BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-annotations)
 BuildRequires:  mvn(com.fasterxml.jackson.core:jackson-databind)
@@ -54,7 +55,6 @@
 BuildRequires:  mvn(org.osgi:osgi.core)
 BuildRequires:  mvn(org.ow2.asm:asm)
 BuildRequires:  mvn(xerces:xercesImpl)
-BuildConflicts: java-devel >= 9
 BuildArch:      noarch
 %if %{without jp_minimal}
 BuildRequires:  mvn(com.github.spullara.mustache.java:compiler)
@@ -117,6 +117,7 @@
 %patch0 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 find . -name "*.jar" -print -delete
 find . -name "*.class" -print -delete
@@ -300,12 +301,13 @@
 %build
 %if %{without jp_minimal}
 # Build everything except examples, integration tests and distribution bundles
-%{mvn_build} -- -PsecurityOff -Dasm.version=6.2.1 
-Dmaven.test.failure.ignore=true \
-  -Dexamples.excluded -Dtests.excluded -Dbundles.excluded
+%{mvn_build} -f -- -PsecurityOff -Dasm.version=6.2.1 
-Dmaven.test.failure.ignore=true \
+  -Dexamples.excluded -Dtests.excluded -Dbundles.excluded -Dsource=8
 %else
 # Additionally omit tests and testing framework for minimal builds
 %{mvn_build} -f -- -PsecurityOff -Dasm.version=6.2.1 
-Dmaven.test.failure.ignore=true \
-  -Dexamples.excluded -Dtests.excluded -Dbundles.excluded 
-Dtest-framework.excluded
+  -Dexamples.excluded -Dtests.excluded -Dbundles.excluded 
-Dtest-framework.excluded \
+  -Dsource=8
 %endif
 
 %install

++++++ jersey-2.28-contended.patch ++++++
--- 
jersey-2.28/core-common/src/main/java/org/glassfish/jersey/internal/jsr166/SubmissionPublisher.java
 2022-03-08 13:13:53.496055135 +0100
+++ 
jersey-2.28/core-common/src/main/java/org/glassfish/jersey/internal/jsr166/SubmissionPublisher.java
 2022-03-08 13:14:13.884176948 +0100
@@ -999,18 +999,8 @@
      * waiter field. If the producer and/or consumer are using a
      * ForkJoinPool, the producer attempts to help run consumer tasks
      * via ForkJoinPool.helpAsyncBlocker before blocking.
-     * <p>
-     * This class uses @Contended and heuristic field declaration
-     * ordering to reduce false-sharing-based memory contention among
-     * instances of BufferedSubscription, but it does not currently
-     * attempt to avoid memory contention among buffers. This field
-     * and element packing can hurt performance especially when each
-     * publisher has only one client operating at a high rate.
-     * Addressing this may require allocating substantially more space
-     * than users expect.
      */
     @SuppressWarnings("serial")
-    @sun.misc.Contended
     private static final class BufferedSubscription<T>
             implements Flow.Subscription, ForkJoinPool.ManagedBlocker {
         // Order-sensitive field declarations

Reply via email to