The GitHub Actions job "Java CI" on 
commons-secure-xml.git/strengthen-osgi-factory-tests has succeeded.
Run started by GitHub user garydgregory (triggered by garydgregory).

Head commit for run:
304569702d63eb60982aa6c287c71130914b4355 / Gary Gregory <[email protected]>
Strengthen OSGi factory selection and resolver initialization tests

Verify that all six secure default factory entry points select their
expected JDK implementations when the thread context class loader is
the library's OSGi bundle loader. Set each factory's provider property
to a nonexistent provider during its check so an accidental fallback
to ordinary provider discovery cannot silently pass. Restore each
property afterward.

Add isolated class-loading tests for FallbackIgnoreLSResourceResolver
so its static initializer executes independently for each scenario.
Verify that:
- A failed lookup through the context class loader succeeds on retry
  through the system class loader.
- A failed retry retains the original lookup exception as suppressed.
- Both successful and failed retries restore the caller's context
  class loader.
Skip these initialization tests in native images and on Android,
where their class-loading assumptions do not apply.

Clarify the OSGi test Javadoc: only the initial default-factory checks
use the bundle loader as the thread context class loader. The reused
unit tests retain the launcher's context loader because XSLTC-generated
translets require visibility of JDK internals. Document the suite's
explicit class, method, and tag exclusions.

Assisted-By: OpenAI Codex

Report URL: 
https://github.com/apache/commons-secure-xml/actions/runs/42479847117

With regards,
GitHub Actions via GitBox

Reply via email to