java.io bug: BufferedInputStream.markSupported() doesnt work fine.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 1.0.2
    • Component/s: core-libs
    • sparc
    • solaris_2.4


      It is unclear if this is really a bug. In BufferedInputStream, markSupported is always
      made to return true. If the buffer size doesnt match the inputstream, and the inputstream
      doesnt support marking, what is the result for BufferedInputStream?

      The testcase is in BISmarkSupportedTest2.java. It is in /usr/green2/sqe/java-tests.

      Vijay


      It isn't a bug. It doesn't matter if the underlying InputStream doesn't support
      marking. The BufferedInputStream does, and buffers it.

      david.a.brown@Eng 1996-11-19

            Assignee:
            David Brown (Inactive)
            Reporter:
            Vijay Srinivasan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: