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

IAE when pressing spacebar in TextArea

    XMLWordPrintable

    Details

      Description

      Run attached app and click TextArea and press spacebar.

      The following exception is thrown:
      java.lang.IllegalArgumentException: Both width and height must be >= 0
      at javafx.geometry.Rectangle2D.<init>(Rectangle2D.java:96)
      at com.sun.javafx.scene.control.skin.TextAreaSkin.getCharacterBounds(TextAreaSkin.java:966)
      at com.sun.javafx.scene.control.skin.TextAreaSkin$13.run(TextAreaSkin.java:896)
      at com.sun.javafx.application.PlatformImpl$2.run(PlatformImpl.java:65)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

        1. FlowInsideSplitPane.java
          1 kB
        2. rt15096.patch
          1 kB
        3. SpaceBarInTextArea.java
          0.5 kB
        4. SpaceScrollsDown.java
          0.8 kB

          Activity

            People

            Assignee:
            leifs Leif Samuelsson (Inactive)
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: