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

Restructure java.io to layer on top of java.nio

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 25
    • core-libs
    • None
    • generic
    • generic

      The java.io package functionally overlaps the java.nio package. There is duplication in both the Java and native code layers. Saliently, much of the functionality of the FileInputStream, FileOutputStream, and RandomAccessFile classes is duplicative of capabilities available in NIO's FileChannel. Layering java.io on top of java.nio would increase consistency across the two packages and allow for the removal of much of the java.io native code, if not an overall reduction in the overall number of lines of code in general.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: