Sync from SUSE:SLFO:Main jackson-core revision 5a0542be283c5b67e827883a957e4ea7

This commit is contained in:
Adrian Schröter 2025-02-25 19:24:37 +01:00
parent 10e2dce764
commit 23f976afb4
5 changed files with 174 additions and 211 deletions

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

Binary file not shown.

View File

@ -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 -->
@ -56,7 +49,7 @@
<target name="init" description="Generate the PackageVersion.java">
<copy file="${build.srcDir}/com/fasterxml/jackson/core/json/PackageVersion.java.in"
tofile="${build.srcDir}/com/fasterxml/jackson/core/json/PackageVersion.java"
tofile="${build.srcDir}/com/fasterxml/jackson/core/json/PackageVersion.java"
overwrite="true">
<filterset>
<filter token="package" value="com.fasterxml.jackson.core.json"/>
@ -73,146 +66,72 @@
<target name="compile" depends="init" description="Compile the code">
<mkdir dir="${build.outputDir}"/>
<javac destdir="${build.outputDir}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
encoding="utf-8"
<javac destdir="${build.outputDir}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
encoding="utf-8"
source="${compiler.source}">
<src>
<pathelement location="${build.srcDir}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<javac destdir="${build.outputDir}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
release="9"
verbose="false"
fork="false"
encoding="utf-8">
<src>
<pathelement location="${build.moditectDir}"/>
</src>
<modulepath>
<path refid="build.classpath"/>
<pathelement location="${build.outputDir}"/>
</modulepath>
</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}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
source="${compiler.source}">
<src>
<pathelement location="${build.testDir}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${build.outputDir}"/>
</classpath>
</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>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" depends="init" description="Generates the Javadoc of the application">
<javadoc sourcepath="${build.srcDir}"
packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"
source="${compiler.source}"
verbose="false"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
encoding="utf-8"
charset="utf-8"
linksource="false"
breakiterator="false"
<javadoc sourcepath="${build.srcDir}"
packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"
source="${compiler.source}"
verbose="false"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
encoding="utf-8"
charset="utf-8"
linksource="false"
breakiterator="false"
maxmemory="1g">
<arg value="-notimestamp"/>
</javadoc>
</target>
@ -220,36 +139,36 @@
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile,test" description="Package the application">
<jar jarfile="${build.dir}/${build.finalName}.jar"
compress="true"
index="false"
basedir="${build.outputDir}"
<target name="package" depends="compile" description="Package the application">
<jar jarfile="${build.dir}/${build.finalName}.jar"
compress="true"
index="false"
basedir="${build.outputDir}"
excludes="**/package.html">
<manifest>
<attribute name="Bundle-Description" value="${project.description}"/>
<attribute name="Bundle-DocURL" value="http://github.com/FasterXML/jackson"/>
<attribute name="Bundle-License" value="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
<attribute name="Bundle-ManifestVersion" value="2"/>
<attribute name="Bundle-Name" value="${project.name}"/>
<attribute name="Bundle-SymbolicName" value="${project.groupId}.${project.artifactId}"/>
<attribute name="Bundle-Vendor" value="${project.vendor}"/>
<attribute name="Bundle-Version" value="${bundle.version}"/>
<attribute name="Export-Package" value="com.fasterxml.jackson.core;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.sym,com.fasterxml.jackson.core.type,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.async;version=&quot;${project.version}&quot;,com.fasterxml.jackson.core.base;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.exc;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.filter;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.format;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core&quot;,com.fasterxml.jackson.core.io;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.json;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.sym&quot;,com.fasterxml.jackson.core.json.async;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.sym&quot;,com.fasterxml.jackson.core.sym;version=&quot;${project.version}&quot;,com.fasterxml.jackson.core.type;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core&quot;,com.fasterxml.jackson.core.util;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.io&quot;"/>
<attribute name="Implementation-Title" value="${project.name}"/>
<attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
<attribute name="Implementation-Vendor" value="${project.vendor}"/>
<attribute name="Implementation-Version" value="${project.version}"/>
<attribute name="Import-Package" value="com.fasterxml.jackson.core,com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.json.async,com.fasterxml.jackson.core.sym,com.fasterxml.jackson.core.type,com.fasterxml.jackson.core.util"/>
<attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/>
<attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
<attribute name="JavaPackages-Version" value="${project.version}"/>
<attribute name="Require-Capability" value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=1.6))&quot;"/>
<attribute name="Specification-Title" value="${project.name}"/>
<attribute name="Specification-Vendor" value="${project.vendor}"/>
<attribute name="Specification-Version" value="${project.version}"/>
<attribute name="Bundle-Description" value="${project.description}"/>
<attribute name="Bundle-DocURL" value="http://github.com/FasterXML/jackson"/>
<attribute name="Bundle-License" value="http://www.apache.org/licenses/LICENSE-2.0.txt"/>
<attribute name="Bundle-ManifestVersion" value="2"/>
<attribute name="Bundle-Name" value="${project.name}"/>
<attribute name="Bundle-SymbolicName" value="${project.groupId}.${project.artifactId}"/>
<attribute name="Bundle-Vendor" value="${project.vendor}"/>
<attribute name="Bundle-Version" value="${bundle.version}"/>
<attribute name="Export-Package" value="com.fasterxml.jackson.core;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.sym,com.fasterxml.jackson.core.type,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.async;version=&quot;${project.version}&quot;,com.fasterxml.jackson.core.base;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.exc;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.filter;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.format;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core&quot;,com.fasterxml.jackson.core.io;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.util&quot;,com.fasterxml.jackson.core.json;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.sym&quot;,com.fasterxml.jackson.core.json.async;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.sym&quot;,com.fasterxml.jackson.core.sym;version=&quot;${project.version}&quot;,com.fasterxml.jackson.core.type;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core&quot;,com.fasterxml.jackson.core.util;version=&quot;${project.version}&quot;;uses:=&quot;com.fasterxml.jackson.core,com.fasterxml.jackson.core.io&quot;"/>
<attribute name="Implementation-Title" value="${project.name}"/>
<attribute name="Implementation-Vendor-Id" value="${project.groupId}"/>
<attribute name="Implementation-Vendor" value="${project.vendor}"/>
<attribute name="Implementation-Version" value="${project.version}"/>
<attribute name="Import-Package" value="com.fasterxml.jackson.core,com.fasterxml.jackson.core.async,com.fasterxml.jackson.core.base,com.fasterxml.jackson.core.exc,com.fasterxml.jackson.core.format,com.fasterxml.jackson.core.io,com.fasterxml.jackson.core.json,com.fasterxml.jackson.core.json.async,com.fasterxml.jackson.core.sym,com.fasterxml.jackson.core.type,com.fasterxml.jackson.core.util"/>
<attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/>
<attribute name="JavaPackages-GroupId" value="${project.groupId}"/>
<attribute name="JavaPackages-Version" value="${project.version}"/>
<attribute name="Require-Capability" value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=1.6))&quot;"/>
<attribute name="Specification-Title" value="${project.name}"/>
<attribute name="Specification-Vendor" value="${project.vendor}"/>
<attribute name="Specification-Version" value="${project.version}"/>
</manifest>
</jar>
</jar>
</target>
<!-- ====================================================================== -->

View File

@ -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
-------------------------------------------------------------------

View File

@ -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}