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

Use covariant return types in the NIO buffer hierarchy

    XMLWordPrintable

Details

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

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: