Skip to content

Commit f7592f0

Browse files
committed
upgraded commons-codec from 1.15 to 1.16.0
1 parent 731f20b commit f7592f0

File tree

3 files changed

+98
-2
lines changed

3 files changed

+98
-2
lines changed

THIRD_PARTY_LICENSES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9043,7 +9043,7 @@ Copyright 2006-2021 The Apache Software Foundation
90439043

90449044

90459045
Apache Commons Codec
9046-
Copyright 2002-2020 The Apache Software Foundation
9046+
Copyright 2002-2024 The Apache Software Foundation
90479047

90489048
src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
90499049
contains test data from http://aspell.net/test/orig/batch0.tab.

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<property name="nbplatform.default.harness.dir" location="${nbplatform.default.netbeans.dest.dir}/harness" />
3232
<property name="nbantext.jar" location="netbeans/nbbuild/build/nbantext.jar" />
3333
<property name="nb_all" location="netbeans" />
34-
<property name="patches" value="patches/6133.diff patches/6330.diff patches/6481.diff patches/6615.diff patches/6631.diff patches/6637.diff patches/6642.diff patches/6649.diff patches/6690.diff patches/6771.diff patches/6329.diff patches/6742.diff patches/6780.diff patches/6834.diff patches/mvn-sh.diff patches/rename-debugger.diff" />
34+
<property name="patches" value="patches/6133.diff patches/6330.diff patches/6481.diff patches/6615.diff patches/6631.diff patches/6637.diff patches/6642.diff patches/6649.diff patches/6690.diff patches/6771.diff patches/6329.diff patches/6742.diff patches/6780.diff patches/6834.diff patches/upgrade-codec.diff patches/mvn-sh.diff patches/rename-debugger.diff" />
3535
<condition property="cmd.suffix" value=".cmd" else="">
3636
<os family="windows"/>
3737
</condition>

patches/upgrade-codec.diff

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
2+
index eb4b13b21b..796019ffcc 100644
3+
--- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
4+
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
5+
@@ -25,6 +25,7 @@ ide/db.sql.visualeditor/external/javacc-7.0.10.jar java/performance/external/jav
6+
# bundled maven conflicts with other libraries
7+
java/maven.embedder/external/apache-maven-3.9.5-bin.zip ide/slf4j.api/external/slf4j-api-1.7.36.jar
8+
java/maven.embedder/external/apache-maven-3.9.5-bin.zip platform/o.apache.commons.lang3/external/commons-lang3-3.12.0.jar
9+
+java/maven.embedder/external/apache-maven-3.9.6-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.16.0.jar
10+
java/maven.embedder/external/apache-maven-3.9.5-bin.zip ide/c.google.guava.failureaccess/external/failureaccess-1.0.1.jar
11+
12+
# Used to parse data during build, but need to as a lib for ide cluster
13+
@@ -67,7 +68,7 @@ extide/gradle/external/gradle-7.4-bin.zip platform/libs.junit4/external/hamcrest
14+
extide/gradle/external/gradle-7.4-bin.zip platform/libs.junit4/external/junit-4.13.2.jar
15+
extide/gradle/external/gradle-7.4-bin.zip platform/libs.testng/external/jcommander-1.78.jar
16+
extide/gradle/external/gradle-7.4-bin.zip enterprise/cloud.oracle/external/httpclient-4.5.13.jar
17+
-extide/gradle/external/gradle-7.4-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.15.jar
18+
+extide/gradle/external/gradle-7.4-bin.zip platform/o.apache.commons.codec/external/commons-codec-1.16.0.jar
19+
extide/gradle/external/gradle-7.4-bin.zip platform/libs.batik.read/external/xml-apis-1.4.01.jar
20+
21+
# These are the endorsed version of the javaee apis and create libraries, so they are better kept separate
22+
diff --git a/platform/o.apache.commons.codec/build.xml b/platform/o.apache.commons.codec/build.xml
23+
index 7c92908280..153806621a 100644
24+
--- a/platform/o.apache.commons.codec/build.xml
25+
+++ b/platform/o.apache.commons.codec/build.xml
26+
@@ -22,13 +22,13 @@
27+
<project name="platform/o.apache.commons.codec" default="build" basedir=".">
28+
<import file="../../nbbuild/templates/projectized.xml"/>
29+
<target name="jar" depends="-define-FileCRC32Calculator">
30+
- <FileCRC32Calculator file="external/commons-codec-1.15.jar" property="o.apache.commons.codec.crc32" />
31+
+ <FileCRC32Calculator file="external/commons-codec-1.16.0.jar" property="o.apache.commons.codec.crc32" />
32+
<jar jarfile="${cluster}/${module.jar}">
33+
- <zipfileset src="external/commons-codec-1.15.jar"/>
34+
+ <zipfileset src="external/commons-codec-1.16.0.jar"/>
35+
<manifest>
36+
<attribute name="Bundle-SymbolicName" value="org.apache.commons.codec"/>
37+
- <attribute name="Bundle-Version" value="1.15.0"/>
38+
- <attribute name="Export-Package" value="org.apache.commons.codec;version=&quot;1.15.0&quot;,org.apache.commons.codec.binary;version=&quot;1.15.0&quot;,org.apache.commons.codec.digest;version=&quot;1.15.0&quot;,org.apache.commons.codec.language;version=&quot;1.15.0&quot;,org.apache.commons.codec.net;version=&quot;1.15.0&quot;"/>
39+
+ <attribute name="Bundle-Version" value="1.16.0"/>
40+
+ <attribute name="Export-Package" value="org.apache.commons.codec;version=&quot;1.16.0&quot;,org.apache.commons.codec.binary;version=&quot;1.16.0&quot;,org.apache.commons.codec.digest;version=&quot;1.16.0&quot;,org.apache.commons.codec.language;version=&quot;1.16.0&quot;,org.apache.commons.codec.net;version=&quot;1.16.0&quot;"/>
41+
<attribute name="NB-Original-CRC" value="${o.apache.commons.codec.crc32}"/>
42+
</manifest>
43+
</jar>
44+
diff --git a/platform/o.apache.commons.codec/external/binaries-list b/platform/o.apache.commons.codec/external/binaries-list
45+
index 929ba7a788..3a2bfd8f69 100644
46+
--- a/platform/o.apache.commons.codec/external/binaries-list
47+
+++ b/platform/o.apache.commons.codec/external/binaries-list
48+
@@ -14,4 +14,4 @@
49+
# KIND, either express or implied. See the License for the
50+
# specific language governing permissions and limitations
51+
# under the License.
52+
-49D94806B6E3DC933DACBD8ACB0FDBAB8EBD1E5D commons-codec:commons-codec:1.15
53+
+4E3EB3D79888D76B54E28B350915B5DC3919C9DE commons-codec:commons-codec:1.16.0
54+
diff --git a/platform/o.apache.commons.codec/external/commons-codec-1.15-license.txt b/platform/o.apache.commons.codec/external/commons-codec-1.16.0-license.txt
55+
similarity index 99%
56+
rename from platform/o.apache.commons.codec/external/commons-codec-1.15-license.txt
57+
rename to platform/o.apache.commons.codec/external/commons-codec-1.16.0-license.txt
58+
index daef4d6173..974dcad1f1 100644
59+
--- a/platform/o.apache.commons.codec/external/commons-codec-1.15-license.txt
60+
+++ b/platform/o.apache.commons.codec/external/commons-codec-1.16.0-license.txt
61+
@@ -1,7 +1,7 @@
62+
Name: Apache Commons Codec
63+
Description: General encoding/decoding algorithms (for example phonetic, base64, URL).
64+
Origin: https://commons.apache.org/proper/commons-codec/
65+
-Version: 1.15
66+
+Version: 1.16.0
67+
License: Apache-2.0
68+
69+
Apache License
70+
diff --git a/platform/o.apache.commons.codec/external/commons-codec-1.15-notice.txt b/platform/o.apache.commons.codec/external/commons-codec-1.16.0-notice.txt
71+
similarity index 93%
72+
rename from platform/o.apache.commons.codec/external/commons-codec-1.15-notice.txt
73+
rename to platform/o.apache.commons.codec/external/commons-codec-1.16.0-notice.txt
74+
index 9899d2108a..10aa94477b 100644
75+
--- a/platform/o.apache.commons.codec/external/commons-codec-1.15-notice.txt
76+
+++ b/platform/o.apache.commons.codec/external/commons-codec-1.16.0-notice.txt
77+
@@ -1,5 +1,5 @@
78+
Apache Commons Codec
79+
-Copyright 2002-2020 The Apache Software Foundation
80+
+Copyright 2002-2024 The Apache Software Foundation
81+
82+
This product includes software developed at
83+
The Apache Software Foundation (https://www.apache.org/).
84+
diff --git a/platform/o.apache.commons.codec/nbproject/project.xml b/platform/o.apache.commons.codec/nbproject/project.xml
85+
index 77bf4742ce..3b96b99e4e 100644
86+
--- a/platform/o.apache.commons.codec/nbproject/project.xml
87+
+++ b/platform/o.apache.commons.codec/nbproject/project.xml
88+
@@ -28,7 +28,7 @@
89+
<public-packages/>
90+
<class-path-extension>
91+
<runtime-relative-path>org-apache-commons-codec.jar</runtime-relative-path>
92+
- <binary-origin>external/commons-codec-1.15.jar</binary-origin>
93+
+ <binary-origin>external/commons-codec-1.16.0.jar</binary-origin>
94+
</class-path-extension>
95+
</data>
96+
</configuration>

0 commit comments

Comments
 (0)