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

Creating a really long dashed line freezes the application.

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: