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

Re-examine synchronization of mark and reset methods on InflaterInputStream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • core-libs

      java.util.zip.InflaterInputStream has:

          public synchronized void mark(int readlimit) {
          }

      and

      public synchronized void reset() throws IOException {
              throw new IOException("mark/reset not supported");
          }

      In both these cases the "synchronized" can be removed.

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: