(ch) sun.nio.ch.Default* cause providers for other platforms to be included in rt.jar

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • b58
    • generic
    • generic
    • Verified

      A Linux build of the JDK includes the Solaris /dev/poll SelecorProvider and several other Solaris specific classes in rt.jar. Similarly a Solaris build the epoll SelectorProvider and other Linux specific files. The Mac implementation of AsynchronousChannelProvider is packaged into the Solaris and Linux rt.jar too.

      We should fix these so that it works like sun.nio.fs.DefaultFileSystemProvider, that way classes for other platforms are not compiled or included in the runtime.

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: