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

Update JAXB and JAX-WS to work with resource encapsulation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • xml
    • b68

        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.

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

                Created:
                Updated:
                Resolved: