You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2026/03/09 10:51:44 UTC
(hadoop-thirdparty) branch trunk updated: Fix missing relocation for org.jspecify in hadoop-shaded-guava (#50)
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop-thirdparty.git
The following commit(s) were added to refs/heads/trunk by this push:
new 5eff51c Fix missing relocation for org.jspecify in hadoop-shaded-guava (#50)
5eff51c is described below
commit 5eff51c0b8565e67fbe261c570795a1eb567a705
Author: Roman Vlasenko <ro...@fivetran.com>
AuthorDate: Mon Mar 9 11:51:39 2026 +0100
Fix missing relocation for org.jspecify in hadoop-shaded-guava (#50)
org.jspecify:jspecify was added as a shaded artifact in 1.5.0 but without
a corresponding relocation rule, causing its classes to be bundled at their
original org/jspecify/annotations/ path. This produces classpath collisions
in projects that also depend on the standalone org.jspecify:jspecify jar.
Contributed by Roman Vlasenko (& claude)
---
hadoop-shaded-guava/pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hadoop-shaded-guava/pom.xml b/hadoop-shaded-guava/pom.xml
index ed6dfcf..91517d9 100644
--- a/hadoop-shaded-guava/pom.xml
+++ b/hadoop-shaded-guava/pom.xml
@@ -130,6 +130,10 @@
<pattern>org/checkerframework/</pattern>
<shadedPattern>${shaded.prefix}/org/checkerframework/</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>org/jspecify/</pattern>
+ <shadedPattern>${shaded.prefix}/org/jspecify/</shadedPattern>
+ </relocation>
</relocations>
<transformers>
<transformer
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org