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

Adjust module-info to provide URLStreamHandlerProvider with ModularURLStreamHandlerProvider

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 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.

              ropalka Richard Opalka
              ropalka Richard Opalka
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Archived: