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

(ch) Stream adaptors do not usefully implement available()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      generic, solaris_7

      Description


      The following always return 0 as the implementation of available()
      needs to be overridden :-

      Channels.newInputStream(ch).available()
      sc.socket().getInputStream().available()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: