Use covariant return types in the NIO buffer hierarchy

XMLWordPrintable

    • b38
    • generic, x86
    • solaris_8, windows_xp
    • Verified

        ByteBuffer.flip() would be much more useful if it returned ByteBuffer
        instead of Buffer. Covariance (expected in 1.5) makes this possible.
        There are many other places where this applies.

              Assignee:
              Richard Warburton (Inactive)
              Reporter:
              Neal Gafter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: