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

Use covariant return types in the NIO buffer hierarchy

    Details

    • Subcomponent:
    • Resolved In Build:
      b38
    • CPU:
      generic, x86
    • OS:
      solaris_8, windows_xp
    • Verification:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: