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

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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: