ICEpdf
  1. ICEpdf
  2. PDF-625

SeekableByteArrayInputStream not thread safe

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      loading an url with -Dorg.icepdf.core.streamcache.enabled=false

      Description

      While working though a threading test case that was using the above environment I came accross a locking issue with the SeekableByteArrayInputStream. Basically it was not updated with PDF-13 when a fixes where make for RandomAcessFileInputStream.

        Activity

        Hide
        Patrick Corless added a comment -

        Upudated the SeekableBytleArrayInputStream to use the rentrant lock construct.

        Show
        Patrick Corless added a comment - Upudated the SeekableBytleArrayInputStream to use the rentrant lock construct.
        Hide
        Patrick Corless added a comment -

        Updated checked into trunk and branch.

        Show
        Patrick Corless added a comment - Updated checked into trunk and branch.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: