6
0
forked from pool/xz-java

Update to v1.12

This commit was merged in pull request #2.
This commit is contained in:
2026-04-23 23:11:08 +03:00
parent 97d68f22b5
commit 565c7bdb74
5 changed files with 33 additions and 10 deletions
+23
View File
@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Apr 23 20:06:15 UTC 2026 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to version 1.12
* Fix ArrayIndexOutOfBoundsException in the LZMA/LZMA2 encoder on
x86-64 and ARM64 when running on Java 9 or newer. The affected
code isn't used on Java 8. The bug is present in versions 1.10
and 1.11. If one cannot upgrade, one should set the property
org.tukaani.xz.MatchLengthFinder=Basic to disable the affected
code path.
* Fix ArrayCache usage in LZMAInputStream. If ArrayCache was
enabled, decompression was likely to fail quickly when the
cache returns a cached array. ArrayCache is disabled by
default.
* The binaries of 1.12 in the Maven Central require Java 8 and
contain optimized classes for Java >= 9 as multi-release JAR.
They were built with OpenJDK 21.0.10 on GNU/Linux and can be
reproduced using the following command:
SOURCE_DATE_EPOCH=1772370000 TZ=UTC0 ant maven
- Modified patch:
* xz-java-module-info.patch
+ rebased
-------------------------------------------------------------------
Wed Dec 24 21:48:33 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
+2 -2
View File
@@ -1,7 +1,7 @@
#
# spec file for package xz-java
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2013 Peter Conrad
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: xz-java
Version: 1.11
Version: 1.12
Release: 0
Summary: Pure Java implementation of XZ compression
License: 0BSD
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+5 -5
View File
@@ -1,6 +1,6 @@
--- a/build.xml 2025-07-03 17:34:58.653124868 +0200
+++ b/build.xml 2025-07-03 17:50:13.872136109 +0200
@@ -68,6 +68,16 @@
--- a/build.xml 2026-04-23 22:29:34.724702617 +0300
+++ b/build.xml 2026-04-23 22:42:22.998717558 +0300
@@ -66,6 +66,16 @@
includesfile="fileset-src9.txt">
<compilerarg compiler="modern" line="-Xlint"/>
<compilerarg compiler="modern" line="-implicit:none"/>
@@ -17,7 +17,7 @@
</javac>
</target>
@@ -102,7 +112,7 @@
@@ -100,7 +110,7 @@
<jar destfile="${jar_dir}/xz.jar" modificationtime="${timestamp}"
manifest="${manifest_base}">
@@ -26,7 +26,7 @@
<zipfileset prefix="META-INF/versions/9/" dir="${classes9_dir}"
unless:true="${java8only}"/>
<manifest>
@@ -112,6 +122,8 @@
@@ -110,6 +120,8 @@
<attribute name="Sealed" value="true"/>
<attribute name="Multi-Release" value="true"
unless:true="${java8only}"/>