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

FilterInputStream is missing implementations of Java 9 InputStream methods

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Won't Fix
    • 11.0.9, 15, 16
    • 18
    • core-libs
    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      FilterInputStream passes through the original methods of InputStream to the wrapped stream. This means that all uses of a FilterInputStream will use the default implementations of the new methods on InputStream, rather than any overridden implementations available on the wrapped stream implementation. This may lead to performance issues.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      FilterInputStream should override and pass through the new methods added to InputStream - readAllBytes and readNBytes

      Attachments

        Issue Links

          Activity

            People

              bpb Brian Burkhalter
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: