Skip to content

Commit cd59206

Browse files
committed
Update NEWS.md for 1.11
1 parent afd20a2 commit cd59206

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

NEWS.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22
XZ for Java release notes
33
=========================
44

5+
1.11 (2025-11-19)
6+
-----------------
7+
8+
* Fix a data corruption bug when encoding with the rarely-used option
9+
`LZMA2Options.MODE_UNCOMPRESSED`. To trigger the bug, a `write`
10+
call must cross an offset that is a multiple of 65536 bytes.
11+
For example, one `write` of 70000 bytes or two `write` calls of
12+
50000 bytes each would trigger the bug. The bug *isn't* triggered
13+
if there are ten `write` calls of 8192 bytes each followed by one
14+
123-byte `write`.
15+
16+
If encoding to a .xz file, a decoder would catch the issue because
17+
the integrity check wouldn't match.
18+
19+
* The binaries of 1.10 in the Maven Central require Java 8 and
20+
contain optimized classes for Java >= 9 as multi-release JAR.
21+
They were built with OpenJDK 21.0.9 on GNU/Linux and can be
22+
reproduced using the following command:
23+
24+
SOURCE_DATE_EPOCH=1763575020 TZ=UTC0 ant maven
25+
526
1.10 (2024-07-29)
627
-----------------
728

0 commit comments

Comments
 (0)