Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jackson-core for openSUSE:Factory checked in at 2026-06-25 17:22:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jackson-core (Old) and /work/SRC/openSUSE:Factory/.jackson-core.new.2088 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jackson-core" Thu Jun 25 17:22:08 2026 rev:19 rq:1361752 version:2.18.8 Changes: -------- --- /work/SRC/openSUSE:Factory/jackson-core/jackson-core.changes 2024-11-06 16:56:51.076238694 +0100 +++ /work/SRC/openSUSE:Factory/.jackson-core.new.2088/jackson-core.changes 2026-06-25 17:22:11.199816783 +0200 @@ -1,0 +2,71 @@ +Thu Jun 25 11:45:39 UTC 2026 - Fridrich Strba <[email protected]> + +- Update to 2.18.8 + * Changes of 2.18.8 + + #1611: Apply number-length validator on streaming integer path + of async parser + * Changes of 2.18.7 + + #1570: Fail parsing from 'DataInput' if 'StreamReadConstraints + .getMaxDocumentLength()' set + (bsc#1268603, GHSA-2m67-wjpj-xhg9) + + #1600: Rework 3rd party licenses in jar + + #1602: 'UTF8DataInputJsonParser' needs to enforce + 'StreamReadConstraints.maxNameLength' limit + * Changes of 2.18.6 + + #1512: Number-parsing fix for 'UTF8DataInputJsonParser' + + #1548: 'StreamReadConstraints.maxDocumentLength' not checked + when creating parser with fixed buffer + + #1555: Enforce 'StreamReadConstraints.maxNumberLength' for + non-blocking (async) parser + * Changes of 2.18.5 + + #1433: 'JsonParser#getNumberType()' throws + 'JsonParseException' when the current token is non-numeric + instead of returning null + + #1446: Invalid package reference to "java.lang.foreign" from + 'com.fasterxml.jackson.core:jackson-core' (from + 'FastDoubleParser') + * Changes of 2.18.3 + + #1391: Fix issue where the parser can read back old number + state when parsing later numbers + + #1397: Jackson changes additional values to infinite in case + of special JSON structures and existing infinite values + + #1398: Fix issue that feature + COMBINE_UNICODE_SURROGATES_IN_UTF8 doesn't work when custom + characterEscape is used + * Changes of 2.18.2 + + #1359: Non-surrogate characters being incorrectly combined + when 'JsonWriteFeature.COMBINE_UNICODE_SURROGATES_IN_UTF8' is + enabled + * Changes of 2.18.1 + + #1353: Use fastdoubleparser 1.0.90 + * Changes of 2.18. + + #223: 'UTF8JsonGenerator' writes supplementary characters as a + surrogate pair: should use 4-byte encoding + + #1230: Improve performance of 'float' and 'double' parsing + from 'TextBuffer' + + #1251: 'InternCache' replace synchronized with 'ReentrantLock' + - the cache size limit is no longer strictly enforced for + performance reasons but we should never go far about the limit + + #1252: 'ThreadLocalBufferManager' replace synchronized with + 'ReentrantLock' + + #1257: Increase InternCache default max size from 100 to 200 + + #1262: Add diagnostic method 'pooledCount()' in 'RecyclerPool' + + #1264: Rename shaded 'ch.randelshofer:fastdoubleparser' + classes to prevent use by downstream consumers + + #1271: Deprecate 'LockFreePool' implementation in 2.18 (remove + from 3.0) + + #1274: 'NUL'-corrupted keys, values on JSON serialization + + #1277: Add back Java 22 optimisation in FastDoubleParser + + #1284: Optimize 'JsonParser.getDoubleValue()/getFloatValue() + /getDecimalValue()' to avoid String allocation + + #1305: Make helper methods of 'WriterBasedJsonGenerator' + non-final to allow overriding + + #1310: Add new 'StreamReadConstraints' ('maxTokenCount') to + limit maximum number of Tokens allowed per document# + + #1331: Update to FastDoubleParser v1.0.1 to fix 'BigDecimal' + decoding proble +- Modified patch: + * 0001-Remove-ch.randelshofer.fastdoubleparser.patch + + rebase + +------------------------------------------------------------------- Old: ---- jackson-core-2.17.3.tar.gz New: ---- _scmsync.obsinfo build.specials.obscpio jackson-core-2.18.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jackson-core.spec ++++++ --- /var/tmp/diff_new_pack.Qt0uS6/_old 2026-06-25 17:22:12.255853408 +0200 +++ /var/tmp/diff_new_pack.Qt0uS6/_new 2026-06-25 17:22:12.259853547 +0200 @@ -1,7 +1,7 @@ # # spec file for package jackson-core # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ # binaries are java 8 compatible %define __requires_exclude java-headless Name: jackson-core -Version: 2.17.3 +Version: 2.18.8 Release: 0 Summary: Core part of Jackson License: Apache-2.0 ++++++ 0001-Remove-ch.randelshofer.fastdoubleparser.patch ++++++ --- /var/tmp/diff_new_pack.Qt0uS6/_old 2026-06-25 17:22:12.275854103 +0200 +++ /var/tmp/diff_new_pack.Qt0uS6/_new 2026-06-25 17:22:12.279854242 +0200 @@ -1,4 +1,4 @@ -From 36ca1db668b34577de7586f5788cd038415ebbfe Mon Sep 17 00:00:00 2001 +From 9f0be7eee70d55cf229c900cc5dd17ad8a680f08 Mon Sep 17 00:00:00 2001 From: Chris Kelley <[email protected]> Date: Mon, 19 Jun 2023 21:07:53 +0100 Subject: [PATCH] Remove ch.randelshofer.fastdoubleparser @@ -6,15 +6,17 @@ It is not packaged in Fedora, and it is not enabled by default, so take it out. We can add it back in if we wish to package it later. --- - .../jackson/core/io/BigDecimalParser.java | 24 ---------- - .../jackson/core/io/BigIntegerParser.java | 41 ----------------- - .../jackson/core/io/NumberInput.java | 31 +++---------- - .../jackson/core/io/BigDecimalParserTest.java | 19 ++------ - .../jackson/core/io/BigIntegerParserTest.java | 46 ------------------- - 5 files changed, 12 insertions(+), 149 deletions(-) + .../jackson/core/io/BigDecimalParser.java | 49 +---------------- + .../jackson/core/io/BigIntegerParser.java | 41 -------------- + .../jackson/core/io/NumberInput.java | 29 ++-------- + .../jackson/core/io/BigDecimalParserTest.java | 21 ++++---- + .../jackson/core/io/BigIntegerParserTest.java | 54 ------------------- + 5 files changed, 14 insertions(+), 180 deletions(-) delete mode 100644 src/main/java/com/fasterxml/jackson/core/io/BigIntegerParser.java delete mode 100644 src/test/java/com/fasterxml/jackson/core/io/BigIntegerParserTest.java +diff --git a/src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java b/src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java +index 2be42744c..15d015b96 100644 --- a/src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java +++ b/src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java @@ -1,7 +1,5 @@ @@ -25,11 +27,23 @@ import java.math.BigDecimal; /** -@@ -55,10 +53,7 @@ public final class BigDecimalParser +@@ -42,10 +40,7 @@ public final class BigDecimalParser + */ + public static BigDecimal parse(String valueStr) { + try { +- if (valueStr.length() < SIZE_FOR_SWITCH_TO_FASTDOUBLEPARSER) { +- return new BigDecimal(valueStr); +- } +- return JavaBigDecimalParser.parseBigDecimal(valueStr); ++ return new BigDecimal(valueStr); + + // 20-Aug-2022, tatu: Although "new BigDecimal(...)" only throws NumberFormatException + // operations by "parseBigDecimal()" can throw "ArithmeticException", so handle both: +@@ -66,10 +61,7 @@ public final class BigDecimalParser */ public static BigDecimal parse(final char[] chars, final int off, final int len) { try { -- if (len < 500) { +- if (len < SIZE_FOR_SWITCH_TO_FASTDOUBLEPARSER) { - return new BigDecimal(chars, off, len); - } - return JavaBigDecimalParser.parseBigDecimal(chars, off, len); @@ -37,7 +51,7 @@ // 20-Aug-2022, tatu: Although "new BigDecimal(...)" only throws NumberFormatException // operations by "parseBigDecimal()" can throw "ArithmeticException", so handle both: -@@ -82,43 +77,6 @@ public final class BigDecimalParser +@@ -93,43 +85,6 @@ public final class BigDecimalParser return parse(chars, 0, chars.length); } @@ -74,13 +88,16 @@ - try { - return JavaBigDecimalParser.parseBigDecimal(ch, off, len); - } catch (ArithmeticException | NumberFormatException e) { -- throw _parseFailure(e, new String(ch, off, len)); +- throw _parseFailure(e, ch, off, len); - } - } - private static NumberFormatException _parseFailure(Exception e, String fullValue) { String desc = e.getMessage(); // 05-Feb-2021, tatu: Alas, JDK mostly has null message so: +diff --git a/src/main/java/com/fasterxml/jackson/core/io/BigIntegerParser.java b/src/main/java/com/fasterxml/jackson/core/io/BigIntegerParser.java +deleted file mode 100644 +index 777c3f450..000000000 --- a/src/main/java/com/fasterxml/jackson/core/io/BigIntegerParser.java +++ /dev/null @@ -1,41 +0,0 @@ @@ -125,6 +142,8 @@ - } - } -} +diff --git a/src/main/java/com/fasterxml/jackson/core/io/NumberInput.java b/src/main/java/com/fasterxml/jackson/core/io/NumberInput.java +index 5cef8dbb3..4db891eac 100644 --- a/src/main/java/com/fasterxml/jackson/core/io/NumberInput.java +++ b/src/main/java/com/fasterxml/jackson/core/io/NumberInput.java @@ -1,8 +1,5 @@ @@ -136,7 +155,7 @@ import java.math.BigDecimal; import java.math.BigInteger; import java.util.regex.Pattern; -@@ -397,7 +394,7 @@ public final class NumberInput +@@ -407,7 +404,7 @@ public final class NumberInput * @since v2.14 */ public static double parseDouble(final String s, final boolean useFastParser) throws NumberFormatException { @@ -145,7 +164,17 @@ } /** -@@ -422,9 +419,6 @@ public final class NumberInput +@@ -432,8 +429,7 @@ public final class NumberInput + */ + public static double parseDouble(final char[] array, final int offset, + final int len, final boolean useFastParser) throws NumberFormatException { +- return useFastParser ? JavaDoubleParser.parseDouble(array, offset, len) : +- Double.parseDouble(new String(array, offset, len)); ++ return Double.parseDouble(new String(array, offset, len)); + } + + /** +@@ -458,9 +454,6 @@ public final class NumberInput * @since v2.14 */ public static float parseFloat(final String s, final boolean useFastParser) throws NumberFormatException { @@ -155,7 +184,17 @@ return Float.parseFloat(s); } -@@ -448,9 +442,6 @@ public final class NumberInput +@@ -486,8 +479,7 @@ public final class NumberInput + */ + public static float parseFloat(final char[] array, final int offset, + final int len, final boolean useFastParser) throws NumberFormatException { +- return useFastParser ? JavaFloatParser.parseFloat(array, offset, len) : +- Float.parseFloat(new String(array, offset, len)); ++ return Float.parseFloat(new String(array, offset, len)); + } + + /** +@@ -510,9 +502,6 @@ public final class NumberInput * @since v2.15 */ public static BigDecimal parseBigDecimal(final String s, final boolean useFastParser) throws NumberFormatException { @@ -165,7 +204,7 @@ return BigDecimalParser.parse(s); } -@@ -481,9 +472,6 @@ public final class NumberInput +@@ -543,9 +532,6 @@ public final class NumberInput final boolean useFastParser) throws NumberFormatException { @@ -175,18 +214,17 @@ return BigDecimalParser.parse(ch, off, len); } -@@ -507,9 +495,7 @@ public final class NumberInput +@@ -569,9 +555,6 @@ public final class NumberInput * @since v2.15 */ public static BigDecimal parseBigDecimal(final char[] ch, final boolean useFastParser) throws NumberFormatException { -- return useFastParser ? -- BigDecimalParser.parseWithFastParser(ch, 0, ch.length) : -- BigDecimalParser.parse(ch); -+ return BigDecimalParser.parse(ch); +- if (useFastParser) { +- return BigDecimalParser.parseWithFastParser(ch, 0, ch.length); +- } + return BigDecimalParser.parse(ch); } - /** -@@ -533,9 +519,6 @@ public final class NumberInput +@@ -596,9 +579,6 @@ public final class NumberInput * @since v2.15 */ public static BigInteger parseBigInteger(final String s, final boolean useFastParser) throws NumberFormatException { @@ -196,7 +234,7 @@ return new BigInteger(s); } -@@ -549,9 +532,6 @@ public final class NumberInput +@@ -612,9 +592,6 @@ public final class NumberInput */ public static BigInteger parseBigIntegerWithRadix(final String s, final int radix, final boolean useFastParser) throws NumberFormatException { @@ -206,9 +244,11 @@ return new BigInteger(s, radix); } +diff --git a/src/test/java/com/fasterxml/jackson/core/io/BigDecimalParserTest.java b/src/test/java/com/fasterxml/jackson/core/io/BigDecimalParserTest.java +index 9ec4cc6cd..a57e42653 100644 --- a/src/test/java/com/fasterxml/jackson/core/io/BigDecimalParserTest.java +++ b/src/test/java/com/fasterxml/jackson/core/io/BigDecimalParserTest.java -@@ -10,19 +10,13 @@ class BigDecimalParserTest extends com.f +@@ -11,19 +11,13 @@ class BigDecimalParserTest extends com.fasterxml.jackson.core.JUnit5TestBase { @Test void longInvalidStringParse() { @@ -234,7 +274,7 @@ fail("expected NumberFormatException"); } catch (NumberFormatException nfe) { assertTrue(nfe.getMessage().startsWith("Value \"AAAAA"), "exception message starts as expected?"); -@@ -69,4 +63,7 @@ class BigDecimalParserTest extends com.f +@@ -82,4 +76,7 @@ class BigDecimalParserTest extends com.fasterxml.jackson.core.JUnit5TestBase sb.append('1'); return sb.toString(); } @@ -242,6 +282,9 @@ + return BigIntegerParserTest.genLongString(); + } } +diff --git a/src/test/java/com/fasterxml/jackson/core/io/BigIntegerParserTest.java b/src/test/java/com/fasterxml/jackson/core/io/BigIntegerParserTest.java +deleted file mode 100644 +index a515f6563..000000000 --- a/src/test/java/com/fasterxml/jackson/core/io/BigIntegerParserTest.java +++ /dev/null @@ -1,54 +0,0 @@ @@ -299,4 +342,7 @@ - return sb.toString(); - } -} +-- +2.54.0 + ++++++ _scmsync.obsinfo ++++++ mtime: 1782388752 commit: a72877b313e20669f6c050c64f3bdac6836133f08c74d61daf2eed972b00adc8 url: https://src.opensuse.org/java-packages/jackson-core revision: a72877b313e20669f6c050c64f3bdac6836133f08c74d61daf2eed972b00adc8 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-06-25 13:59:12.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ jackson-core-2.17.3.tar.gz -> jackson-core-2.18.8.tar.gz ++++++ ++++ 9700 lines of diff (skipped) ++++++ jackson-core-build.xml ++++++ --- /var/tmp/diff_new_pack.Qt0uS6/_old 2026-06-25 17:22:12.999879263 +0200 +++ /var/tmp/diff_new_pack.Qt0uS6/_new 2026-06-25 17:22:13.015879819 +0200 @@ -11,7 +11,7 @@ <property name="project.groupId" value="com.fasterxml.jackson.core"/> <property name="project.artifactId" value="jackson-core"/> <property name="project.name" value="Jackson-core"/> - <property name="project.version" value="2.17.3"/> + <property name="project.version" value="2.18.8"/> <property name="project.vendor" value="FasterXML"/> <property name="project.description" value="Core Jackson processing abstractions (aka Streaming API), implementation for JSON"/> <property name="bundle.version" value="${project.version}"/>
