ICEpdf
  1. ICEpdf
  2. PDF-144

JDK 1.5 Image IO crashes JVM when painting dashed lines at smalll scales.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 6.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      JDK 1.5

      Description

      Every once in a while one comes across an interesting bug like this one. After a little digging around and testing I think found the issue.

      It looks like there is a bug in the JVM when painting at small scales using a dashed stroke. Actually I suspect it more of an issue with ImageIO as it paints fine on the screen. There are some dashes in the left running shoe that are causing the problem.

      The problem doesn't show up on JDK 1.6_13. Turns out if you set the system property -Dorg.icepdf.core.screen.stroke=VALUE_STROKE_PURE you can get around this JVM bug or at least as far as my testing shows.

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          Closing, not much we can do here, known JVM issue.

          Show
          Patrick Corless added a comment - Closing, not much we can do here, known JVM issue.
          Hide
          Patrick Corless added a comment -

          Found potential work around.

          Show
          Patrick Corless added a comment - Found potential work around.
          Hide
          Patrick Corless added a comment -

          Marking as fixed.

          Show
          Patrick Corless added a comment - Marking as fixed.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: