Uploaded image for project: 'JBoss Modules'
  1. JBoss Modules
  2. MODULES-451

Adjust module-info to provide URLStreamHandlerProvider with ModularURLStreamHandlerProvider

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.1.6.Final
    • None
    • Core
    • None

      Should we eliminate URL.setURLStreamHandlerFactory() method calls in org.jboss.modules.Module class and replace it with provides URLStreamHandlerProvider with ModularURLStreamHandlerProvider (and corresponding META-INF/services files) in the module-info?

      It would require to make class ModularURLStreamhandlerProvider public, however we could move it to the non-exported _private subpackage in this case.

      The advantage of doing this is that it would be one less step for the bootstrap API to deal with.

              Unassigned Unassigned
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: