Sync from SUSE:SLFO:Main jackson-core revision 5a0542be283c5b67e827883a957e4ea7
This commit is contained in:
parent
10e2dce764
commit
23f976afb4
BIN
jackson-core-2.17.1.tar.gz
(Stored with Git LFS)
BIN
jackson-core-2.17.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jackson-core-2.17.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
jackson-core-2.17.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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.1"/>
|
||||
<property name="project.version" value="2.17.3"/>
|
||||
<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}"/>
|
||||
@ -25,10 +25,8 @@
|
||||
<property name="build.outputDir" value="${build.dir}/classes"/>
|
||||
<property name="build.srcDir" value="src/main/java"/>
|
||||
<property name="build.resourceDir" value="src/main/resources"/>
|
||||
<property name="build.testOutputDir" value="${build.dir}/test-classes"/>
|
||||
<property name="build.testDir" value="src/test/java"/>
|
||||
<property name="build.testResourceDir" value="src/test/resources"/>
|
||||
<property name="test.reports" value="${build.dir}/test-reports"/>
|
||||
<property name="build.moditectDir" value="src/moditect"/>
|
||||
|
||||
<property name="reporting.outputDirectory" value="${build.dir}/site"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
@ -36,11 +34,6 @@
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
@ -89,101 +82,26 @@
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${build.outputDir}">
|
||||
<fileset dir="${build.resourceDir}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="test.skip">
|
||||
<mkdir dir="${build.testOutputDir}"/>
|
||||
<javac destdir="${build.testOutputDir}"
|
||||
<javac destdir="${build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
release="${compiler.release}"
|
||||
target="${compiler.target}"
|
||||
release="9"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="${compiler.source}">
|
||||
encoding="utf-8">
|
||||
<src>
|
||||
<pathelement location="${build.testDir}"/>
|
||||
<pathelement location="${build.moditectDir}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<modulepath>
|
||||
<path refid="build.classpath"/>
|
||||
<pathelement location="${build.outputDir}"/>
|
||||
</classpath>
|
||||
</modulepath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${build.outputDir}"/>
|
||||
<pathelement location="${build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${test.reports}" unless="test">
|
||||
<fileset dir="${build.testDir}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${test.reports}" if="test">
|
||||
<fileset dir="${build.testDir}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
<copy todir="${build.outputDir}">
|
||||
<fileset dir="${build.resourceDir}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
@ -213,6 +131,7 @@
|
||||
linksource="false"
|
||||
breakiterator="false"
|
||||
maxmemory="1g">
|
||||
<arg value="-notimestamp"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
@ -220,7 +139,7 @@
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${build.dir}/${build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
|
@ -1,44 +1,69 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 07:49:57 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to 2.17.3
|
||||
* #1331: Update to FastDoubleParser v1.0.1 to fix 'BigDecimal'
|
||||
decoding problem
|
||||
* #1340: Missing 'JsonFactory' "provides" SPI with JPMS in
|
||||
'jackson-core' module
|
||||
* #1352: Fix infinite loop due to integer overflow when reading
|
||||
large strings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 13:48:21 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Build the module-info.java source too (with release=9)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 7 08:55:44 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Update to 2.17.2
|
||||
* #1308: Relax validation by 'NumberInput.looksLikeValidNumber()'
|
||||
to allow trailing dot (like '3.')
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 17 12:47:49 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Reproducible builds: generate javadoc without timestamps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 20 12:29:23 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||
|
||||
- Update to 2.17.1
|
||||
* #1241: Fix `NumberInput.looksLikeValidNumber()` implementation
|
||||
(contributed by @pjfanning)
|
||||
* #1241: Fix 'NumberInput.looksLikeValidNumber()' implementation
|
||||
* #1256: Revert #1117: change default recycler pool back to
|
||||
`threadLocalPool()` for 2.17.1
|
||||
'threadLocalPool()' for 2.17.1
|
||||
- Includes changes from 2.17.0
|
||||
* #507: Add `JsonWriteFeature.ESCAPE_FORWARD_SLASHES` to allow
|
||||
escaping of '/' for String values (contributed by Joo-Hyuk K)
|
||||
* #1117: Change default `RecylerPool` implementation to
|
||||
`newLockFreePool` (from `threadLocalPool`)
|
||||
* #507: Add 'JsonWriteFeature.ESCAPE_FORWARD_SLASHES' to allow
|
||||
escaping of '/' for String values
|
||||
* #1117: Change default 'RecylerPool' implementation to
|
||||
'newLockFreePool' (from 'threadLocalPool')
|
||||
* #1137: Improve detection of "is a NaN" to only consider
|
||||
explicit cases, not `double` overflow/underflow
|
||||
* #1145: `JsonPointer.appendProperty(String)` does not escape the
|
||||
property name (reported by Robert E)
|
||||
* #1149: Add `JsonParser.getNumberTypeFP()`
|
||||
* #1157: Use fast parser (FDP) for large `BigDecimal`s (500+
|
||||
chars) (contributed by @pjfanning)
|
||||
* #1169: `ArrayIndexOutOfBoundsException` for specific invalid
|
||||
explicit cases, not 'double' overflow/underflow
|
||||
* #1145: 'JsonPointer.appendProperty(String)' does not escape the
|
||||
property name
|
||||
* #1149: Add 'JsonParser.getNumberTypeFP()'
|
||||
* #1157: Use fast parser (FDP) for large 'BigDecimal's (500+
|
||||
chars)
|
||||
* #1169: 'ArrayIndexOutOfBoundsException' for specific invalid
|
||||
content, with Reader-based parser
|
||||
* #1173: `JsonLocation` consistently off by one character for
|
||||
many invalid JSON parsing cases (reported by Paul B)
|
||||
* #1179: Allow configuring `DefaultPrettyPrinter` separators for
|
||||
empty Arrays and Objects (contributed by Guillaume L)
|
||||
* #1186: `BufferRecycler` should avoid setting replacement if one
|
||||
already returned, bigger (suggested by @kkkkkhhhh)
|
||||
* #1195: Use `BufferRecycler` provided by output (`OutputStream`,
|
||||
`Writer`) object if available (contributed by Mario F)
|
||||
* #1202: Add `RecyclerPool.clear()` method for dropping all
|
||||
* #1173: 'JsonLocation' consistently off by one character for
|
||||
many invalid JSON parsing cases
|
||||
* #1179: Allow configuring 'DefaultPrettyPrinter' separators for
|
||||
empty Arrays and Objects
|
||||
* #1186: 'BufferRecycler' should avoid setting replacement if one
|
||||
already returned, bigger
|
||||
* #1195: Use 'BufferRecycler' provided by output ('OutputStream',
|
||||
'Writer') object if available
|
||||
* #1202: Add 'RecyclerPool.clear()' method for dropping all
|
||||
pooled Objects
|
||||
* #1203: Faster division by 1000 (contributed by @xtonik)
|
||||
* #1203: Faster division by 1000
|
||||
* #1205:
|
||||
JsonFactory.setStreamReadConstraints(StreamReadConstraints)
|
||||
fails to update "maxNameLength" for symbol tables (reported by
|
||||
@denizk)
|
||||
* #1217: Optimize char comparison using bitwise OR (contributed
|
||||
by @xtonik)
|
||||
fails to update "maxNameLength" for symbol tables
|
||||
* #1217: Optimize char comparison using bitwise OR
|
||||
* #1218: Simplify Unicode surrogate pair conversion for
|
||||
generation (contributed by @xtonik)
|
||||
generation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 08:33:47 UTC 2024 - Gus Kenion <gkenion@suse.com>
|
||||
@ -46,26 +71,41 @@ Fri Mar 8 08:33:47 UTC 2024 - Gus Kenion <gkenion@suse.com>
|
||||
- Update to 2.16.1
|
||||
* 2.16.1 (24-Dec-2023)
|
||||
+ #1141: NPE in Version.equals() if snapshot-info null
|
||||
+ #1161: NPE in "FastDoubleParser", method "JavaBigDecimalParser.parseBigDecimal()"
|
||||
+ #1168: JsonPointer.append(JsonPointer.tail()) includes the original pointer
|
||||
+ #1161: NPE in "FastDoubleParser", method
|
||||
"JavaBigDecimalParser.parseBigDecimal()"
|
||||
+ #1168: JsonPointer.append(JsonPointer.tail()) includes the
|
||||
original pointer
|
||||
* 2.16.0 (15-Nov-2023)
|
||||
+ #991: Change StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION default to false in Jackson 2.16
|
||||
+ #1007: Improve error message for StreamReadConstraints violations
|
||||
+ #1015: JsonFactory implementations should respect CANONICALIZE_FIELD_NAMES
|
||||
+ #1035: Root cause for failing test for testMangledIntsBytes() in ParserErrorHandlingTest
|
||||
+ #991: Change StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION
|
||||
default to false in Jackson 2.16
|
||||
+ #1007: Improve error message for StreamReadConstraints
|
||||
violations
|
||||
+ #1015: JsonFactory implementations should respect
|
||||
CANONICALIZE_FIELD_NAMES
|
||||
+ #1035: Root cause for failing test for testMangledIntsBytes()
|
||||
in ParserErrorHandlingTest
|
||||
+ #1036: Allow all array elements in JsonPointerBasedFilter
|
||||
+ #1039: Indicate explicitly blocked sources as "REDACTED" instead of "UNKNOWN" in JsonLocation
|
||||
+ #1039: Indicate explicitly blocked sources as "REDACTED"
|
||||
instead of "UNKNOWN" in JsonLocation
|
||||
+ #1041: Start using AssertJ in unit tests
|
||||
+ #1042: Allow configuring spaces before and/or after the colon in DefaultPrettyPrinter (for Canonical JSON)
|
||||
+ #1046: Add configurable limit for the maximum number of bytes/chars of content to parse before failing
|
||||
+ #1047: Add configurable limit for the maximum length of Object property names to parse before failing
|
||||
+ #1048: Add configurable processing limits for JSON generator (StreamWriteConstraints)
|
||||
+ #1042: Allow configuring spaces before and/or after the colon
|
||||
in DefaultPrettyPrinter (for Canonical JSON)
|
||||
+ #1046: Add configurable limit for the maximum number of
|
||||
bytes/chars of content to parse before failing
|
||||
+ #1047: Add configurable limit for the maximum length of Object
|
||||
property names to parse before failing
|
||||
+ #1048: Add configurable processing limits for JSON generator
|
||||
(StreamWriteConstraints)
|
||||
+ #1050: Compare _snapshotInfo in Version
|
||||
+ #1051: Add JsonGeneratorDecorator to allow decorating JsonGenerators
|
||||
+ #1051: Add JsonGeneratorDecorator to allow decorating
|
||||
JsonGenerators
|
||||
+ #1064: Add full set of BufferRecyclerPool implementations
|
||||
+ #1066: Add configurable error report behavior via ErrorReportConfiguration
|
||||
+ #1081: Make ByteSourceJsonBootstrapper use StringReader for < 8KiB byte[] inputs
|
||||
+ #1089: Allow pluggable buffer recycling via new RecyclerPool extension point
|
||||
+ #1066: Add configurable error report behavior via
|
||||
ErrorReportConfiguration
|
||||
+ #1081: Make ByteSourceJsonBootstrapper use StringReader
|
||||
for < 8KiB byte[] inputs
|
||||
+ #1089: Allow pluggable buffer recycling via new RecyclerPool
|
||||
extension point
|
||||
+ #1136: Change parsing error message to mention -INF
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -16,8 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
# The automatic requires would be java-headless >= 9, but the
|
||||
# binaries are java 8 compatible
|
||||
%define __requires_exclude java-headless
|
||||
Name: jackson-core
|
||||
Version: 2.17.1
|
||||
Version: 2.17.3
|
||||
Release: 0
|
||||
Summary: Core part of Jackson
|
||||
License: Apache-2.0
|
||||
@ -28,8 +31,9 @@ Source1: %{name}-build.xml
|
||||
Patch0: 0001-Remove-ch.randelshofer.fastdoubleparser.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: java-devel >= 9
|
||||
BuildRequires: javapackages-local >= 6
|
||||
Requires: java-headless >= 1.8
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -51,7 +55,7 @@ cp %{SOURCE1} build.xml
|
||||
|
||||
%build
|
||||
mkdir -p lib
|
||||
%{ant} -Dtest.skip=true package javadoc
|
||||
ant package javadoc
|
||||
|
||||
%install
|
||||
install -dm 0755 %{buildroot}%{_javadir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user