summaryrefslogtreecommitdiffstats
path: root/jdisc_core
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-05-23 10:41:11 +0200
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:22 +0200
commit5914ad5f47a06423830bed891d273625a583b2db (patch)
tree0312f3d7c90c6962441ce78e816d86f468f37bd4 /jdisc_core
parent9454a11024eaf9c3a820c92f6a80902d2d46e1ec (diff)
Add temporary "fake" export for javax.annotation(.security)
- Required by org.glassfish.hk2.api and jersey-server
Diffstat (limited to 'jdisc_core')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/core/ExportPackages.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/ExportPackages.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/ExportPackages.java
index 3a706101790..2f2b497f3b4 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/ExportPackages.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/ExportPackages.java
@@ -53,6 +53,10 @@ public class ExportPackages {
.append("com.yahoo.jdisc.handler, ")
.append("com.yahoo.jdisc.service, ")
.append("com.yahoo.jdisc.statistics, ")
+
+ .append("javax.annotation;version=1.2, ") // TODO Vespa 8: remove after removing Jersey
+ .append("javax.annotation.security;version=1.2, ") // (If more 3rd party libraries require these, we may have to provide and export anyway
+
.append("javax.inject;version=1.0.0, ") // Included in guice, but not exported. Needed by container-jersey.
.append("org.aopalliance.intercept, ")
.append("org.aopalliance.aop");