Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-399

Ability to depend on sun.jdk module without bringing in non JDK Services

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: core_1.0.0.Beta4
    • Fix Version/s: core_1.0.0.Beta5
    • Component/s: core
    • Labels:
      None

      Description

      Currently `sun.jdk` is automatically added to all deployments by Undertow.

      The problem is that doing so means all META-INF/services entries are exported from that module, which causes them to be found when running in an IDE or wildfly-swarm:run. However, the classes that go along with the service entries can not be found, causing an exception.

      We've worked around this problem in the `spring` fraction by explicitly excluding `sun.jdk`, but it's become apparent that doing so is not a long term solution as it prevents other things from working as expected.

      So we need a way to filter out the META-INF/services entries for non JDK jars from `sun.jdk`

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kenfinni Ken Finnigan
                  Reporter:
                  kenfinni Ken Finnigan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: