efegokdemir opened a new pull request, #649:
URL: https://github.com/apache/commons-configuration/pull/649

   ## Summary
   
   Fixes CONFIGURATION-858 by making the `java.applet` OSGi package import 
optional. This allows the bundle to resolve on Java versions where the applet 
API is unavailable while preserving AppletConfiguration for runtimes that still 
provide it.
   
   ## Changes
   
   - Add `java.applet.*;resolution:=optional` to the existing optional OSGi 
import list.
   
   ## Testing
   
   - `mvn -DskipTests -Dmoditect.skip=true package -q` — passed.
   - Verified the generated manifest contains 
`java.applet;resolution:=optional`.
   - `git diff --check` — passed.
   - Standard `mvn -DskipTests package` — blocked by Moditect/jdeps because the 
local JDK 27 runtime does not provide `java.applet.Applet`.
   - `mvn -Dmoditect.skip=true -Dtest=TestAppletConfiguration test -q` — 
blocked because the local JDK 27 runtime cannot load `java.applet.Applet`.
   
   ## Notes
   
   The optional import preserves compatibility with older Java runtimes that 
still expose the applet API and permits OSGi resolution where it is absent. AI 
assistance was used during investigation and implementation; the submitter 
reviewed the change and validation results.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to