Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8080502

Update JAXB and JAX-WS to work with resource encapsulation

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 9
    • xml
    • b68

    Backports

      Description

        In Jigsaw, then ClassLoader.getResource* and Class.getResource* methods cannot be be used to get to resources in named modules. Class.getResourceAsStream will of course allow code in a module to open a stream to resources in its own module.

        From that reason, some parts in JAX-B/JAX-WS code had to be updated. Method Class::getResourceAsStream() is used instead and code using URL has been removed/adjusted.

        Attachments

          Issue Links

            Activity

              People

                mkos Miroslav Kos (Inactive)
                mkos Miroslav Kos (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: