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

Update JAXB and JAX-WS to work with resource encapsulation

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: