From 9cca2ab99d22ea8346669ca2ecf679347369477f Mon Sep 17 00:00:00 2001 From: Ondro Mihalyi Date: Sat, 11 Apr 2026 02:23:00 +0200 Subject: [PATCH] Make imported applet packages optional Applets were removed from Java 26, they cannot be imported if running on Java 26 or newer. Making them optional will allow using the functionality on Java 26 that doesn't depend on applets. --- omgapi/pom.xml | 7 +++++++ orbmain/pom.xml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/omgapi/pom.xml b/omgapi/pom.xml index c1b4db572d..add66a5ed5 100644 --- a/omgapi/pom.xml +++ b/omgapi/pom.xml @@ -64,6 +64,13 @@ org.apache.felix maven-bundle-plugin + + + + java.applet;resolution:=optional,* + + diff --git a/orbmain/pom.xml b/orbmain/pom.xml index 3a21b393e3..a2d2a9e7c2 100644 --- a/orbmain/pom.xml +++ b/orbmain/pom.xml @@ -122,6 +122,9 @@ maven-bundle-plugin + + java.applet;resolution:=optional,* com.sun.corba.ee.spi.*, com.sun.corba.ee.impl.corba,