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

Adjust module-info to provide URLStreamHandlerProvider with ModularURLStreamHandlerProvider

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: