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

Creating a really long dashed line freezes the application.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • fx1.2
    • javafx
    • Windows XP SP2, JavaFX 1.2, Intel Core2 Duo @ 2GHz; 3GB RAM, java version "1.6.0_14"

    Description

      When creating a really long line with strokeDashArray initialized to a nonempty value (a dashed line) the application freezes. When I try to draw a regular line from Float.NEGATIVE_INFINITY to Float.POSITIVE_INFINITY the line is never displayed. When I try to draw a dashed infinite line the application freezes. When I try to draw a really long dashed the application freezes and memory usage spikes (up to more than a gigabyte on my machine). When I try to draw a really long (but not infinite) regular line the line is displayed without any problems. Look at the attached files for examples. Thank you.

      Attachments

        1. MainOne.fx
          0.6 kB
        2. MainThree.fx
          0.7 kB
        3. MainTwo.fx
          0.6 kB

        Activity

          People

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: