Skip to content

Commit a472f3f

Browse files
authored
Merge pull request #109 from lahodaj/upgrade-failureaccess-1.0.2
Upgrade of failureaccess (component of Guava)
2 parents 20cee94 + cd3db0e commit a472f3f

File tree

2 files changed

+313
-1
lines changed

2 files changed

+313
-1
lines changed

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/upgrade-codec.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/7001.diff patches/mvn-sh.diff patches/rename-debugger.diff" />
3535
<condition property="cmd.suffix" value=".cmd" else="">
3636
<os family="windows"/>
3737
</condition>

patches/7001.diff

Lines changed: 312 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,312 @@
1+
diff --git a/ide/c.google.guava.failureaccess/external/binaries-list b/ide/c.google.guava.failureaccess/external/binaries-list
2+
index c71c3937fb..f4ff27670b 100644
3+
--- a/ide/c.google.guava.failureaccess/external/binaries-list
4+
+++ b/ide/c.google.guava.failureaccess/external/binaries-list
5+
@@ -14,4 +14,4 @@
6+
# KIND, either express or implied. See the License for the
7+
# specific language governing permissions and limitations
8+
# under the License.
9+
-1DCF1DE382A0BF95A3D8B0849546C88BAC1292C9 com.google.guava:failureaccess:1.0.1
10+
+C4A06A64E650562F30B7BF9AAEC1BFED43ACA12B com.google.guava:failureaccess:1.0.2
11+
diff --git a/ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt b/ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
12+
similarity index 99%
13+
rename from ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt
14+
rename to ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
15+
index 8db246aa2b..0c948ba081 100644
16+
--- a/ide/c.google.guava.failureaccess/external/failureaccess-1.0.1-license.txt
17+
+++ b/ide/c.google.guava.failureaccess/external/failureaccess-1.0.2-license.txt
18+
@@ -1,5 +1,5 @@
19+
Name: Guava - Failure Access Library
20+
-Version: 1.0.1
21+
+Version: 1.0.2
22+
License: Apache-2.0
23+
Origin: https://github.com/google/guava
24+
Description: A Guava subproject
25+
diff --git a/ide/c.google.guava.failureaccess/nbproject/project.properties b/ide/c.google.guava.failureaccess/nbproject/project.properties
26+
index 2b0193d616..68cfb5ce83 100644
27+
--- a/ide/c.google.guava.failureaccess/nbproject/project.properties
28+
+++ b/ide/c.google.guava.failureaccess/nbproject/project.properties
29+
@@ -16,7 +16,7 @@
30+
# under the License.
31+
javac.compilerargs=-Xlint -Xlint:-serial
32+
javac.source=1.8
33+
-spec.version.base=1.0.1
34+
-release.external/failureaccess-1.0.1.jar=modules/com-google-guava-failureaccess.jar
35+
+spec.version.base=1.3.0
36+
+release.external/failureaccess-1.0.2.jar=modules/com-google-guava-failureaccess.jar
37+
is.autoload=true
38+
nbm.module.author=Tomas Stupka
39+
diff --git a/ide/c.google.guava.failureaccess/nbproject/project.xml b/ide/c.google.guava.failureaccess/nbproject/project.xml
40+
index 358696d3e2..9284279c26 100644
41+
--- a/ide/c.google.guava.failureaccess/nbproject/project.xml
42+
+++ b/ide/c.google.guava.failureaccess/nbproject/project.xml
43+
@@ -28,7 +28,7 @@
44+
<public-packages/>
45+
<class-path-extension>
46+
<runtime-relative-path>com-google-guava-failureaccess.jar</runtime-relative-path>
47+
- <binary-origin>external/failureaccess-1.0.1.jar</binary-origin>
48+
+ <binary-origin>external/failureaccess-1.0.2.jar</binary-origin>
49+
</class-path-extension>
50+
</data>
51+
</configuration>
52+
diff --git a/java/maven.embedder/build.xml b/java/maven.embedder/build.xml
53+
index 1cf5537607..9dd89c01e7 100644
54+
--- a/java/maven.embedder/build.xml
55+
+++ b/java/maven.embedder/build.xml
56+
@@ -25,7 +25,9 @@
57+
<mkdir dir="${cluster}/maven"/>
58+
<unzip src="external/${bundled.maven}-bin.zip" dest="${cluster}/maven">
59+
<mapper type="glob" from="${bundled.maven}/*" to="*"/>
60+
- </unzip>
61+
+ </unzip>
62+
+ <delete file="${cluster}/maven/lib/failureaccess-1.0.1.jar" />
63+
+ <copy file="external/failureaccess-1.0.2.jar" todir="${cluster}/maven/lib/" />
64+
</target>
65+
<target name="check-binariesembedded-list">
66+
<taskdef name="checkjarssha1" classname="org.netbeans.nbbuild.extlibs.CheckEmbeddedBinaries" classpath="${nbantext.jar}"/>
67+
diff --git a/java/maven.embedder/external/binaries-list b/java/maven.embedder/external/binaries-list
68+
index 6000cd52f3..a8a108b397 100644
69+
--- a/java/maven.embedder/external/binaries-list
70+
+++ b/java/maven.embedder/external/binaries-list
71+
@@ -17,3 +17,4 @@
72+
DC15DFF8F701B227EE523EEB7A17F77C10EAFE2F org.jdom:jdom2:2.0.6.1
73+
5D9CE6ADD7B714B8095F0E3E396C5E9F8C5DCFEF org.apache.maven.shared:maven-dependency-tree:2.2
74+
448660E65018FF4354574800D0EFA831C7F5F469 org.apache.maven:apache-maven:3.9.5:bin@zip
75+
+C4A06A64E650562F30B7BF9AAEC1BFED43ACA12B com.google.guava:failureaccess:1.0.2
76+
diff --git a/java/maven.embedder/external/failureaccess-1.0.2-license.txt b/java/maven.embedder/external/failureaccess-1.0.2-license.txt
77+
new file mode 100644
78+
index 0000000000..0c948ba081
79+
--- /dev/null
80+
+++ b/java/maven.embedder/external/failureaccess-1.0.2-license.txt
81+
@@ -0,0 +1,208 @@
82+
+Name: Guava - Failure Access Library
83+
+Version: 1.0.2
84+
+License: Apache-2.0
85+
+Origin: https://github.com/google/guava
86+
+Description: A Guava subproject
87+
+
88+
+
89+
+ Apache License
90+
+ Version 2.0, January 2004
91+
+ http://www.apache.org/licenses/
92+
+
93+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
94+
+
95+
+ 1. Definitions.
96+
+
97+
+ "License" shall mean the terms and conditions for use, reproduction,
98+
+ and distribution as defined by Sections 1 through 9 of this document.
99+
+
100+
+ "Licensor" shall mean the copyright owner or entity authorized by
101+
+ the copyright owner that is granting the License.
102+
+
103+
+ "Legal Entity" shall mean the union of the acting entity and all
104+
+ other entities that control, are controlled by, or are under common
105+
+ control with that entity. For the purposes of this definition,
106+
+ "control" means (i) the power, direct or indirect, to cause the
107+
+ direction or management of such entity, whether by contract or
108+
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
109+
+ outstanding shares, or (iii) beneficial ownership of such entity.
110+
+
111+
+ "You" (or "Your") shall mean an individual or Legal Entity
112+
+ exercising permissions granted by this License.
113+
+
114+
+ "Source" form shall mean the preferred form for making modifications,
115+
+ including but not limited to software source code, documentation
116+
+ source, and configuration files.
117+
+
118+
+ "Object" form shall mean any form resulting from mechanical
119+
+ transformation or translation of a Source form, including but
120+
+ not limited to compiled object code, generated documentation,
121+
+ and conversions to other media types.
122+
+
123+
+ "Work" shall mean the work of authorship, whether in Source or
124+
+ Object form, made available under the License, as indicated by a
125+
+ copyright notice that is included in or attached to the work
126+
+ (an example is provided in the Appendix below).
127+
+
128+
+ "Derivative Works" shall mean any work, whether in Source or Object
129+
+ form, that is based on (or derived from) the Work and for which the
130+
+ editorial revisions, annotations, elaborations, or other modifications
131+
+ represent, as a whole, an original work of authorship. For the purposes
132+
+ of this License, Derivative Works shall not include works that remain
133+
+ separable from, or merely link (or bind by name) to the interfaces of,
134+
+ the Work and Derivative Works thereof.
135+
+
136+
+ "Contribution" shall mean any work of authorship, including
137+
+ the original version of the Work and any modifications or additions
138+
+ to that Work or Derivative Works thereof, that is intentionally
139+
+ submitted to Licensor for inclusion in the Work by the copyright owner
140+
+ or by an individual or Legal Entity authorized to submit on behalf of
141+
+ the copyright owner. For the purposes of this definition, "submitted"
142+
+ means any form of electronic, verbal, or written communication sent
143+
+ to the Licensor or its representatives, including but not limited to
144+
+ communication on electronic mailing lists, source code control systems,
145+
+ and issue tracking systems that are managed by, or on behalf of, the
146+
+ Licensor for the purpose of discussing and improving the Work, but
147+
+ excluding communication that is conspicuously marked or otherwise
148+
+ designated in writing by the copyright owner as "Not a Contribution."
149+
+
150+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
151+
+ on behalf of whom a Contribution has been received by Licensor and
152+
+ subsequently incorporated within the Work.
153+
+
154+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
155+
+ this License, each Contributor hereby grants to You a perpetual,
156+
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
157+
+ copyright license to reproduce, prepare Derivative Works of,
158+
+ publicly display, publicly perform, sublicense, and distribute the
159+
+ Work and such Derivative Works in Source or Object form.
160+
+
161+
+ 3. Grant of Patent License. Subject to the terms and conditions of
162+
+ this License, each Contributor hereby grants to You a perpetual,
163+
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
164+
+ (except as stated in this section) patent license to make, have made,
165+
+ use, offer to sell, sell, import, and otherwise transfer the Work,
166+
+ where such license applies only to those patent claims licensable
167+
+ by such Contributor that are necessarily infringed by their
168+
+ Contribution(s) alone or by combination of their Contribution(s)
169+
+ with the Work to which such Contribution(s) was submitted. If You
170+
+ institute patent litigation against any entity (including a
171+
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
172+
+ or a Contribution incorporated within the Work constitutes direct
173+
+ or contributory patent infringement, then any patent licenses
174+
+ granted to You under this License for that Work shall terminate
175+
+ as of the date such litigation is filed.
176+
+
177+
+ 4. Redistribution. You may reproduce and distribute copies of the
178+
+ Work or Derivative Works thereof in any medium, with or without
179+
+ modifications, and in Source or Object form, provided that You
180+
+ meet the following conditions:
181+
+
182+
+ (a) You must give any other recipients of the Work or
183+
+ Derivative Works a copy of this License; and
184+
+
185+
+ (b) You must cause any modified files to carry prominent notices
186+
+ stating that You changed the files; and
187+
+
188+
+ (c) You must retain, in the Source form of any Derivative Works
189+
+ that You distribute, all copyright, patent, trademark, and
190+
+ attribution notices from the Source form of the Work,
191+
+ excluding those notices that do not pertain to any part of
192+
+ the Derivative Works; and
193+
+
194+
+ (d) If the Work includes a "NOTICE" text file as part of its
195+
+ distribution, then any Derivative Works that You distribute must
196+
+ include a readable copy of the attribution notices contained
197+
+ within such NOTICE file, excluding those notices that do not
198+
+ pertain to any part of the Derivative Works, in at least one
199+
+ of the following places: within a NOTICE text file distributed
200+
+ as part of the Derivative Works; within the Source form or
201+
+ documentation, if provided along with the Derivative Works; or,
202+
+ within a display generated by the Derivative Works, if and
203+
+ wherever such third-party notices normally appear. The contents
204+
+ of the NOTICE file are for informational purposes only and
205+
+ do not modify the License. You may add Your own attribution
206+
+ notices within Derivative Works that You distribute, alongside
207+
+ or as an addendum to the NOTICE text from the Work, provided
208+
+ that such additional attribution notices cannot be construed
209+
+ as modifying the License.
210+
+
211+
+ You may add Your own copyright statement to Your modifications and
212+
+ may provide additional or different license terms and conditions
213+
+ for use, reproduction, or distribution of Your modifications, or
214+
+ for any such Derivative Works as a whole, provided Your use,
215+
+ reproduction, and distribution of the Work otherwise complies with
216+
+ the conditions stated in this License.
217+
+
218+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
219+
+ any Contribution intentionally submitted for inclusion in the Work
220+
+ by You to the Licensor shall be under the terms and conditions of
221+
+ this License, without any additional terms or conditions.
222+
+ Notwithstanding the above, nothing herein shall supersede or modify
223+
+ the terms of any separate license agreement you may have executed
224+
+ with Licensor regarding such Contributions.
225+
+
226+
+ 6. Trademarks. This License does not grant permission to use the trade
227+
+ names, trademarks, service marks, or product names of the Licensor,
228+
+ except as required for reasonable and customary use in describing the
229+
+ origin of the Work and reproducing the content of the NOTICE file.
230+
+
231+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
232+
+ agreed to in writing, Licensor provides the Work (and each
233+
+ Contributor provides its Contributions) on an "AS IS" BASIS,
234+
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
235+
+ implied, including, without limitation, any warranties or conditions
236+
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
237+
+ PARTICULAR PURPOSE. You are solely responsible for determining the
238+
+ appropriateness of using or redistributing the Work and assume any
239+
+ risks associated with Your exercise of permissions under this License.
240+
+
241+
+ 8. Limitation of Liability. In no event and under no legal theory,
242+
+ whether in tort (including negligence), contract, or otherwise,
243+
+ unless required by applicable law (such as deliberate and grossly
244+
+ negligent acts) or agreed to in writing, shall any Contributor be
245+
+ liable to You for damages, including any direct, indirect, special,
246+
+ incidental, or consequential damages of any character arising as a
247+
+ result of this License or out of the use or inability to use the
248+
+ Work (including but not limited to damages for loss of goodwill,
249+
+ work stoppage, computer failure or malfunction, or any and all
250+
+ other commercial damages or losses), even if such Contributor
251+
+ has been advised of the possibility of such damages.
252+
+
253+
+ 9. Accepting Warranty or Additional Liability. While redistributing
254+
+ the Work or Derivative Works thereof, You may choose to offer,
255+
+ and charge a fee for, acceptance of support, warranty, indemnity,
256+
+ or other liability obligations and/or rights consistent with this
257+
+ License. However, in accepting such obligations, You may act only
258+
+ on Your own behalf and on Your sole responsibility, not on behalf
259+
+ of any other Contributor, and only if You agree to indemnify,
260+
+ defend, and hold each Contributor harmless for any liability
261+
+ incurred by, or claims asserted against, such Contributor by reason
262+
+ of your accepting any such warranty or additional liability.
263+
+
264+
+ END OF TERMS AND CONDITIONS
265+
+
266+
+ APPENDIX: How to apply the Apache License to your work.
267+
+
268+
+ To apply the Apache License to your work, attach the following
269+
+ boilerplate notice, with the fields enclosed by brackets "[]"
270+
+ replaced with your own identifying information. (Don't include
271+
+ the brackets!) The text should be enclosed in the appropriate
272+
+ comment syntax for the file format. We also recommend that a
273+
+ file or class name and description of purpose be included on the
274+
+ same "printed page" as the copyright notice for easier
275+
+ identification within third-party archives.
276+
+
277+
+ Copyright [yyyy] [name of copyright owner]
278+
+
279+
+ Licensed under the Apache License, Version 2.0 (the "License");
280+
+ you may not use this file except in compliance with the License.
281+
+ You may obtain a copy of the License at
282+
+
283+
+ http://www.apache.org/licenses/LICENSE-2.0
284+
+
285+
+ Unless required by applicable law or agreed to in writing, software
286+
+ distributed under the License is distributed on an "AS IS" BASIS,
287+
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
288+
+ See the License for the specific language governing permissions and
289+
+ limitations under the License.
290+
diff --git a/java/maven.embedder/nbproject/project.xml b/java/maven.embedder/nbproject/project.xml
291+
index a2020eb4a6..d90f63543c 100644
292+
--- a/java/maven.embedder/nbproject/project.xml
293+
+++ b/java/maven.embedder/nbproject/project.xml
294+
@@ -305,7 +305,7 @@
295+
<runtime-relative-path>../maven/lib/commons-lang3-3.12.0.jar</runtime-relative-path>
296+
</class-path-extension>
297+
<class-path-extension>
298+
- <runtime-relative-path>../maven/lib/failureaccess-1.0.1.jar</runtime-relative-path>
299+
+ <runtime-relative-path>../maven/lib/failureaccess-1.0.2.jar</runtime-relative-path>
300+
</class-path-extension>
301+
<class-path-extension>
302+
<runtime-relative-path>../maven/lib/guava-32.0.1-jre.jar</runtime-relative-path>
303+
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
304+
index eb4b13b21b..09df2c1194 100644
305+
--- a/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
306+
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/ignored-overlaps
307+
@@ -28,4 +28,4 @@ ide/db.sql.visualeditor/external/javacc-7.0.10.jar java/performance/external/jav
308+
-java/maven.embedder/external/apache-maven-3.9.5-bin.zip ide/c.google.guava.failureaccess/external/failureaccess-1.0.1.jar
309+
+java/maven.embedder/external/failureaccess-1.0.2.jar ide/c.google.guava.failureaccess/external/failureaccess-1.0.2.jar
310+
311+
# Used to parse data during build, but need to as a lib for ide cluster
312+
nbbuild/external/json-simple-1.1.1.jar ide/libs.json_simple/external/json-simple-1.1.1.jar

0 commit comments

Comments
 (0)