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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: