9 Commits

Author SHA256 Message Date
bbc72ded25 Accepting request 1287024 from home:urbic:branches:Java:packages
- Update to v2.2.2
  * Changed
    + Publish release artifacts to Central Portal using OSSRH
      Staging API service.
    + Bump Checkstyle to 10.25.0.
- Update to v2.2.1
  * Changed
    + IntHashSet#retainAll(Collection) and
      IntHashSet#retainAll(IntHashSet) no longer change the
      capacity of the set.
    + Bump JUnit to 5.13.0.
  * Fixed
    + Infinite loop in IntHashSet when retainAll leaves collections
      with a power of two number of elements.
- Update to v2.2.0
  * Changed
    + Protect against numeric overflow when recording errors at the
      end of the large buffer.
    + CI: Use gradle/actions/setup-gradle action for caching Gradle
      dependencies.
    + CI: Enable JDK 24 GA build.
    + Bump Gradle to 8.14.1.
    + Bump Checkstyle to 10.24.0.
    + Bump ByteBuddy to 1.17.5.
    + Bump Shadow to 8.3.6.
    + Bump JUnit to 5.12.2.
    + Bump Mockito to 5.18.0.
    + Bump Guava TestLib to 33.4.8-jre.
  * Added
    + Add SystemUtil#isMac method.
    + Add tests for file mapping.

OBS-URL: https://build.opensuse.org/request/show/1287024
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=9
2025-06-20 05:08:10 +00:00
64f05d6367 Accepting request 1265635 from home:urbic:branches:Java:packages
- Fix build with both xmvn-mojo:javadoc and javadoc:aggregate
- Update to v2.1.0
  * Changed
    + Move get method declaration to the ReadablePosition class.
      (eb3b7d284d)
    + Bump Gradle to 8.13.
    + Bump Checkstyle to 10.21.3.
    + Bump ByteBuddy to 1.17.1.
    + Bump Shadow to 8.3.6.
    + Bump JUnit to 5.12.0.
  * Added
    + Add compareAndExchange methods to AtomicBuffer. (#334)
    + Add getAndAddPlain to AtomicCounter. (#328)
    + Add acquire/release methods to AtomicBuffer. (#314)
    + Add acquire/release methods to AtomicCounter. (#315)
    + Add acquire/release methods to Position. (#316)
    + Add plain methods to AtomicCounter. (#317)
    + Add opaque methods to AtomicCounter. (#319)
    + Add opaque methods to AtomicBuffer. (#313)
    + Add opaque methods to Position. (#324)
    + Add timestampRelease method to MarkFile. (#318)
    + Add different flavors of concurrent methods to
      StatusIndicator. (#323)
  * Fixed
    + CI: Fix crash logs upload on Windows + compress test data
      before upload.
    + Make UnsafeApi#arrayBaseOffset forwards compatible with JDK
      25+ which changed the return type to long whereas we keep it
      as int.
- Update to v2.0.1
  * Changelog
    + [Java] Deprecated ThreadHints. (#312)
    + [Java] Adds a new convenience constructor to
      SleepingIdleStrategy. (#310)
    + [Java] Improved ordering/atomic doc in AtomicBuffer. (#309)
    + [Java] Upgrade to Mockito 5.15.2.
    + [Java] Upgrade to Checkstyle 10.21.1.
    + [CI] Add JDK 25-ea to the build matrix.
- Update to v2.0.0
  * Breaking changes
    + org.agrona.UnsafeAccess was removed. Use org.agrona.UnsafeApi
      instead. Note: --add-opens
      java.base/jdk.internal.misc=ALL-UNNAMED JVM option must be
      specified in order to use org.agrona.UnsafeApi.
    + org.agrona.concurrent.MemoryAccess was removed. Use either
      the equivalent APIs provided by org.agrona.UnsafeApi or
      java.lang.invoke.VarHandle.
    + org.agrona.concurrent.SigIntBarrier was removed. Use
      org.agrona.concurrent.ShutdownSignalBarrier instead.
  * Changelog
    + [Java] Added API to compute CRC-32C
      (org.agrona.checksum.Crc32c) and CRC-32
      (org.agrona.checksum.Crc32) checksums. Note: Requires
      --add-opens java.base/java.util.zip=ALL-UNNAMED JVM option at
      run time in order to use these classes.
    + [Java] stop allocating on addAll / removeAll on
      ObjectHashSet. (#308)
    + [Java] Run Mockito as Agent, i.e. fix the following warning.
    + [Doc] Remove reference to java 8 (#304)
    + [Gradle] Disable auto detection of JVMs to force a specific
      JVM for test execution in CI.
    + [Gradle] Use Gradle's version catalog feature for declaring
      dependencies.
    + [Java] Add concurrent tests for getAndAdd and getAndSet
      operations.
    + [Java] Improve RingBuffer tests by reading one message at a
      time and minimizing the number of valid states.
    + [Java] Fail build on JavaDoc errors.
    + [Java] Use JUnit BOM.
    + [Java] Upgrade to Gradle 8.11.1.
    + [Java] Upgrade to Checkstyle 10.21.0.
    + [Java] Upgrade to ByteBuddy 1.15.11.
    + [Java] Upgrade to bnd 7.1.0.
    + [Java] Upgrade to Shadow 8.3.5.
    + [Java] Upgrade to JUnit 5.11.4.
    + [Java] Upgrade to Guava TestLib 33.4.0-jre.
- Update to v1.23.1
  * Breaking changes
    + [Java] Fix Object2IntHashMap#merge resizing the map while
      updating an existing key.
- Update to v1.23.0
  * Breaking changes
    + JDK 17 is required for compiling and running!
    + Removed NioSelectedKeySet and the corresponding
      TransportPoller.selectedKeySet field.
    + Removed MappedResizeableBuffer class to avoid having to open
      an internal JDK module (i.e. --add-opens
      java.base/sun.nio.ch=ALL-UNNAMED).
    + Removed RecordBuffer class.
  * Changelog
    + [Java] Improved documentation for the BackoffIdleStrategy.
      #297
    + [Java] Resolve pid using ProcessHandle.current().pid().
    + [Java] Use Thread.onSpinWait().
    + [Java] Use invokeCleaner without MethodHandles.
    + [Java] Remove Selector hacks in favor of the new
      java.nio.channels.Selector.selectNow(Consumer<SelectionKey>)
      API.
    + [Java] Upgrade to Gradle 8.10.
    + [Java] Upgrade to ByteBuddy 1.15.0.
    + [Java] Upgrade to Shadow 8.3.0.
    + [Java] Upgrade to bnd 7.0.0.
    + [Java] Upgrade to Mockito 5.12.0.
- Update to v1.22.0
  * [Java] Improve performance of IntHashSet via avoiding the fill
    operation by using 0 as MISSING_VALUE.
  * [Java] Restore thread safety by overriding missing mutating
    operations in ConcurrentCountersManager.
  * [Java] Remove volatile read for FREE_FOR_REUSE_DEADLINE_OFFSET
    in CountersManager.
  * [Java] Upgrade to ByteBuddy 1.14.18.
  * [Java] Upgrade to Guava TestLib 33.2.1-jre.
  * [Java] Upgrade to JUnit 5.10.3.
- Update to v1.21.2
  * [Java] Fix {Int,Long}2ObjectCache. (#294)
  * [Java] ErrorLogReader: Do not crash when reading partial or
    corrupted error messages. Attempt to recover last error message
    when length is out of bounds.
  * [Java] SnowflakeIdGenerator: Increment sequence if the clock is
    not advancing or going backwards.
  * [Java] Fix build on JDK 23-ea caused by deprecation in Unsafe,
    i.e. https://openjdk.org/jeps/471.
  * [CI] Split the build into slow and fast, i.e. run concurrency
    tests only during slow build.
  * [Java] Upgrade to ByteBuddy 1.14.17.
  * [Java] Upgrade to Guava TestLib 33.2.0-jre.
- Update to v1.21.1
  * [Java] Fix Javadoc copyright year range.
  * [Java] Fix JDK 22 javadoc URL.
  * [CI] Enable JDK 23-ea build.
  * [Java] Upgrade to ASM 9.7.
  * [Java] Upgrade to ByteBuddy 1.14.13.
- Update to v1.21.0
  * [Java] Use -XX:+EnableDynamicAgentLoading on JDK 21+.
  * [CI] Add Mac M1 to the build matrix.
  * [CI] Build PRs against merge commit.
  * [CI] Action updates.
  * [Java] Upgrade to JUnit 5.10.2.
  * [Java] Upgrade to Versions 0.51.0.
  * [Java] Upgrade to ByteBuddy 1.14.12.
  * [Java] Upgrade to Guava TestLib 33.1.0-jre.
- Update to v1.20.0
  * Add Reference ID, a new metadata field, to counters in the
    value padding.
  * Suppress warnings about Unsafe APIs being deprecated for
    removal in JDK 22.
  * Enable dynamic agent loading on JDK 22 + run ByteBuddy in the
    experimental mode.
  * CI: Use JDK 21 GA, drop JDK 11, and add JDK 22-ea.
  * Fix JavaDoc link for JDK 21 GA.
  * Move bnd into bundle section to make it forward compatible with
    the next major version of the plugin.
  * Upgrade to ByteBuddy 1.14.9.
  * Upgrade to Guava TestLib 32.1.3-jre.
  * Upgrade to ASM 9.6.
  * Upgrade to Versions 0.49.0.
- Update to v1.19.2
  * Add missing bounds check to
    AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder)
    (#285)
  * Upgrade to ByteBuddy 1.14.7.
- Update to v1.19.1
  * Fix NPE in SigInt.java (#283)
  * Upgrade to JMH 1.37.
  * Upgrade to Guava TestLib 32.1.2-jre.
  * Upgrade to JUnit 5.10.0.
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp
- Initial packaging with v1.19.0

OBS-URL: https://build.opensuse.org/request/show/1265635
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=8
2025-03-31 07:07:47 +00:00
b5b82345d1 Accepting request 1264593 from home:fstrba:maven
Fix build with both xmvn-mojo:javadoc and javadoc:aggregate

OBS-URL: https://build.opensuse.org/request/show/1264593
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=7
2025-03-27 15:17:52 +00:00
76e07dd864 Accepting request 1220455 from home:urbic:branches:Java:packages
- Update to v1.23.1
  * [Java] Fix Object2IntHashMap#merge resizing the map while
    updating an existing key.

OBS-URL: https://build.opensuse.org/request/show/1220455
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=6
2024-11-04 08:33:18 +00:00
91e1e27806 Accepting request 1198805 from home:urbic:branches:Java:packages
- Update to v1.23.0
  * Breaking changes
    + JDK 17 is required for compiling and running!
    + Removed NioSelectedKeySet and the corresponding
      TransportPoller.selectedKeySet field.
    + Removed MappedResizeableBuffer class to avoid having to open
      an internal JDK module (i.e. --add-opens
      java.base/sun.nio.ch=ALL-UNNAMED).
    + Removed RecordBuffer class.
  * Changelog
    + [Java] Improved documentation for the BackoffIdleStrategy.
      #297
    + [Java] Resolve pid using ProcessHandle.current().pid().
    + [Java] Use Thread.onSpinWait().
    + [Java] Use invokeCleaner without MethodHandles.
    + [Java] Remove Selector hacks in favor of the new
      java.nio.channels.Selector.selectNow(Consumer<SelectionKey>)
      API.
    + [Java] Upgrade to Gradle 8.10.
    + [Java] Upgrade to ByteBuddy 1.15.0.
    + [Java] Upgrade to Shadow 8.3.0.
    + [Java] Upgrade to bnd 7.0.0.
    + [Java] Upgrade to Mockito 5.12.0.
- Update to v1.22.0
  * [Java] Improve performance of IntHashSet via avoiding the fill
    operation by using 0 as MISSING_VALUE.
  * [Java] Restore thread safety by overriding missing mutating
    operations in ConcurrentCountersManager.
  * [Java] Remove volatile read for FREE_FOR_REUSE_DEADLINE_OFFSET
    in CountersManager.
  * [Java] Upgrade to ByteBuddy 1.14.18.
  * [Java] Upgrade to Guava TestLib 33.2.1-jre.
  * [Java] Upgrade to JUnit 5.10.3.

OBS-URL: https://build.opensuse.org/request/show/1198805
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=5
2024-09-05 16:21:57 +00:00
e78f0d8aef Accepting request 1180795 from home:urbic:branches:Java:packages
- Update to v1.21.2
  * [Java] Fix {Int,Long}2ObjectCache. (#294)
  * [Java] ErrorLogReader: Do not crash when reading partial or
    corrupted error messages. Attempt to recover last error message
    when length is out of bounds.
  * [Java] SnowflakeIdGenerator: Increment sequence if the clock is
    not advancing or going backwards.
  * [Java] Fix build on JDK 23-ea caused by deprecation in Unsafe,
    i.e. https://openjdk.org/jeps/471.
  * [CI] Split the build into slow and fast, i.e. run concurrency
    tests only during slow build.
  * [Java] Upgrade to ByteBuddy 1.14.17.
  * [Java] Upgrade to Guava TestLib 33.2.0-jre.
- Update to v1.21.1
  * [Java] Fix Javadoc copyright year range.
  * [Java] Fix JDK 22 javadoc URL.
  * [CI] Enable JDK 23-ea build.
  * [Java] Upgrade to ASM 9.7.
  * [Java] Upgrade to ByteBuddy 1.14.13.
- Update to v1.21.0
  * [Java] Use -XX:+EnableDynamicAgentLoading on JDK 21+.
  * [CI] Add Mac M1 to the build matrix.
  * [CI] Build PRs against merge commit.
  * [CI] Action updates.
  * [Java] Upgrade to JUnit 5.10.2.
  * [Java] Upgrade to Versions 0.51.0.
  * [Java] Upgrade to ByteBuddy 1.14.12.
  * [Java] Upgrade to Guava TestLib 33.1.0-jre.

OBS-URL: https://build.opensuse.org/request/show/1180795
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=4
2024-06-14 16:04:13 +00:00
6eafafd261 Accepting request 1130118 from home:urbic:branches:Java:packages
- Update to v1.20.0
  * Add Reference ID, a new metadata field, to counters in the
    value padding.
  * Suppress warnings about Unsafe APIs being deprecated for
    removal in JDK 22.
  * Enable dynamic agent loading on JDK 22 + run ByteBuddy in the
    experimental mode.
  * CI: Use JDK 21 GA, drop JDK 11, and add JDK 22-ea.
  * Fix JavaDoc link for JDK 21 GA.
  * Move bnd into bundle section to make it forward compatible with
    the next major version of the plugin.
  * Upgrade to ByteBuddy 1.14.9.
  * Upgrade to Guava TestLib 32.1.3-jre.
  * Upgrade to ASM 9.6.
  * Upgrade to Versions 0.49.0.

OBS-URL: https://build.opensuse.org/request/show/1130118
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=3
2023-12-03 11:14:44 +00:00
d7afb8c5b6 Accepting request 1110856 from home:urbic:branches:Java:packages
- Update to v1.19.2
  * Add missing bounds check to
    AbstractMutableDirectBuffer#getInt(int, java.nio.ByteOrder)
    (#285)
  * Upgrade to ByteBuddy 1.14.7.
- Update to v1.19.1
  * Fix NPE in SigInt.java (#283)
  * Upgrade to JMH 1.37.
  * Upgrade to Guava TestLib 32.1.2-jre.
  * Upgrade to JUnit 5.10.0.
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp

OBS-URL: https://build.opensuse.org/request/show/1110856
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=2
2023-09-14 03:54:50 +00:00
0c124a6ddf Accepting request 1102808 from home:urbic:java
Submitting a new package

OBS-URL: https://build.opensuse.org/request/show/1102808
OBS-URL: https://build.opensuse.org/package/show/Java:packages/agrona?expand=0&rev=1
2023-08-08 08:16:35 +00:00