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

AssertionError in PrismTextLayout.createLine running TooltipTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx24
    • javafx

      Spotted in our nightly headful test build:

      TooltipTest > testChangeShowDelayCssTooltip() FAILED
          java.lang.AssertionError: number of TextRuns in a TextLine cannot be less than one: 0
              at javafx.graphics@24-ea/com.sun.javafx.text.PrismTextLayout.createLine(PrismTextLayout.java:936)

      The assertion error is not in the test, but rather due to an "assert" statement in the runtime. This suggests a product bug rather than a test bug.

      This is the only time I can remember seeing such a failure.

            prr Philip Race
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: