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

FilterInputStream is missing implementations of Java 9 InputStream methods

    • generic
    • generic

      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

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

          FilterInputStream is missing implementations of Java 9 InputStream methods

            • generic
            • generic

              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

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

                      Created:
                      Updated:
                      Resolved:

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

                          Created:
                          Updated:
                          Resolved: