Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
3e368a4ff9 | |||
e43ccd176b | |||
aebdc9c22a | |||
36bd935e3f |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dd6f2f414c4caff4f10415d3be54574a5515167da284fb89dc7324252a7aafe
|
||||
size 4214717
|
3
JCTools-4.0.5.tar.gz
Normal file
3
JCTools-4.0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a21d8e3756d041580dfb91afe8070f7988e52a766ab6fba41bbcac7f96f4b6c
|
||||
size 4259231
|
@@ -1,42 +0,0 @@
|
||||
--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicArrayQueueGenerator.java 2021-03-04 13:31:26.000000000 +0100
|
||||
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicArrayQueueGenerator.java 2022-03-10 01:17:42.600945295 +0100
|
||||
@@ -126,7 +126,7 @@
|
||||
cu.addImport(importDeclaration("java.util.concurrent.atomic.AtomicReferenceArray"));
|
||||
cu.addImport(importDeclaration("java.util.concurrent.atomic.AtomicLongArray"));
|
||||
cu.addImport(importDeclaration("org.jctools.queues.MessagePassingQueueUtil"));
|
||||
- cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil.*"));
|
||||
+ cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil"));
|
||||
}
|
||||
|
||||
/**
|
||||
--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicLinkedQueueGenerator.java 2021-03-04 13:31:26.000000000 +0100
|
||||
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicLinkedQueueGenerator.java 2022-03-10 01:17:34.301128084 +0100
|
||||
@@ -174,7 +174,7 @@
|
||||
cu.addImport(importDeclaration("org.jctools.queues.MessagePassingQueueUtil"));
|
||||
cu.addImport(importDeclaration("org.jctools.queues.QueueProgressIndicators"));
|
||||
cu.addImport(importDeclaration("org.jctools.queues.IndexedQueueSizeUtil"));
|
||||
- cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil.*"));
|
||||
+ cu.addImport(staticImportDeclaration("org.jctools.queues.atomic.AtomicQueueUtil"));
|
||||
}
|
||||
|
||||
/**
|
||||
--- JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicQueueGenerator.java 2021-03-04 13:31:26.000000000 +0100
|
||||
+++ JCTools-3.3.0/jctools-build/src/main/java/org/jctools/queues/atomic/JavaParsingAtomicQueueGenerator.java 2022-03-10 01:17:27.333281545 +0100
|
||||
@@ -291,7 +291,7 @@
|
||||
}
|
||||
|
||||
protected ImportDeclaration importDeclaration(String name) {
|
||||
- return new ImportDeclaration(new Name(name), false, false);
|
||||
+ return new ImportDeclaration(name, false, false);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -327,7 +327,7 @@
|
||||
}
|
||||
|
||||
ImportDeclaration staticImportDeclaration(String name) {
|
||||
- return new ImportDeclaration(new Name(name), true, false);
|
||||
+ return new ImportDeclaration(name, true, true);
|
||||
}
|
||||
|
||||
}
|
@@ -1,26 +0,0 @@
|
||||
--- JCTools-3.3.0/jctools-core/src/main/java/org/jctools/maps/NonBlockingHashMap.java 2023-10-26 07:08:16.040888020 +0200
|
||||
+++ JCTools-3.3.0/jctools-core/src/main/java/org/jctools/maps/NonBlockingHashMap.java 2023-10-26 07:19:05.898682142 +0200
|
||||
@@ -1412,8 +1412,8 @@
|
||||
* requires the creation of {@link java.util.Map.Entry} objects with each
|
||||
* iteration. The {@link NonBlockingHashMap} does not normally create or
|
||||
* using {@link java.util.Map.Entry} objects so they will be created soley
|
||||
- * to support this iteration. Iterating using {@link Map#keySet} or {@link
|
||||
- * Map##values} will be more efficient.
|
||||
+ * to support this iteration. Iterating using {@link Map#keySet}
|
||||
+ * will be more efficient.
|
||||
*/
|
||||
@Override
|
||||
public Set<Map.Entry<TypeK,TypeV>> entrySet() {
|
||||
--- JCTools-3.3.0/jctools-core/src/main/java/org/jctools/maps/NonBlockingIdentityHashMap.java 2023-10-26 07:08:16.040888020 +0200
|
||||
+++ JCTools-3.3.0/jctools-core/src/main/java/org/jctools/maps/NonBlockingIdentityHashMap.java 2023-10-26 07:20:15.902495982 +0200
|
||||
@@ -1255,8 +1255,8 @@
|
||||
* requires the creation of {@link java.util.Map.Entry} objects with each
|
||||
* iteration. The {@link NonBlockingIdentityHashMap} does not normally create or
|
||||
* using {@link java.util.Map.Entry} objects so they will be created soley
|
||||
- * to support this iteration. Iterating using {@link Map#keySet} or {@link
|
||||
- * Map##values} will be more efficient.
|
||||
+ * to support this iteration. Iterating using {@link Map#keySet}
|
||||
+ * will be more efficient.
|
||||
*/
|
||||
@Override
|
||||
public Set<Map.Entry<TypeK,TypeV>> entrySet() {
|
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 12:32:19 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to 4.0.5
|
||||
* This is a major release, following the removal of the
|
||||
'QueueFactory', 'AtomicQueueFactory' and
|
||||
'org.jctools.queues.spec' package(deprecated since 3.0).
|
||||
These classes are still used for testing, but are not part of
|
||||
the release artifacts anymore.
|
||||
New unpadded queue variants are also included in this release.
|
||||
* Further changes included:
|
||||
+ Fix table-size long math on very large tables
|
||||
+ #355 Adher to size semantic for queue emptiness for
|
||||
MpscLinkedArrayQueue variants
|
||||
+ Same code, new bundling post #370
|
||||
- Removed patches:
|
||||
* imports.patch
|
||||
* jctools-javadoc.patch
|
||||
+ not needed anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 10:46:08 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
|
12
jctools.spec
12
jctools.spec
@@ -18,14 +18,12 @@
|
||||
|
||||
%global srcname JCTools
|
||||
Name: jctools
|
||||
Version: 3.3.0
|
||||
Version: 4.0.5
|
||||
Release: 0
|
||||
Summary: Java Concurrency Tools for the JVM
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/JCTools/JCTools
|
||||
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||
Patch0: imports.patch
|
||||
Patch1: jctools-javadoc.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
@@ -69,8 +67,6 @@ This package contains javadoc for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
|
||||
# set correct version in all pom.xml files
|
||||
%pom_xpath_set pom:project/pom:version %{version}
|
||||
@@ -90,6 +86,12 @@ This package contains javadoc for %{name}.
|
||||
%pom_xpath_set "pom:project/pom:properties/pom:java.version" "1.8"
|
||||
%pom_xpath_set "pom:project/pom:properties/pom:java.test.version" "1.8"
|
||||
|
||||
# Avoid runtime dependency on test-jar
|
||||
%pom_xpath_set "pom:dependency[pom:scope='compile']/pom:scope" test jctools-experimental
|
||||
# Deprecated classes "only used for testing" needed for compiling jctools-experimental
|
||||
mkdir -p jctools-experimental/src/main/java/org/jctools/queues/
|
||||
cp -r jctools-core/src/test/java/org/jctools/queues/spec jctools-experimental/src/main/java/org/jctools/queues/
|
||||
|
||||
# do not install internal build tools
|
||||
%{mvn_package} :jctools-build __noinstall
|
||||
|
||||
|
Reference in New Issue
Block a user