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

AppInputStream doesn't override all necessary methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • unknown
    • unknown
    • security-libs
    • None
    • ventura
    • generic
    • generic


      All access to the AppInputStream is supposed to be
      synchronized by going through the appropriate
      locks. int read(byte[] b) (are there others?)
      doesn't do this!

      What about:

      available()
      mark()
      skip()...

      And in AppOutputStream? Are there some in there as well?
      Yes, we're missing:

      write(int b)
      write(byte [] b)

      These should be fixed. Check with Jeff to be sure that
      these are incorrect, but I'm 99% sure we screwed up.

      Brad

            jhangalsunw Jayalaxmi Hangal (Inactive)
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: