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

Incorrect assertion fails in the GlassCursor.m

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None

      Description

      In the fix for JDK-8093200 the assertion
      assert([cursorCache count] == com_sun_glass_ui_Cursor_CURSOR_MAX);
      is incorrect since the size of the array is max element plus one in this case.
      This fails on mac with DebugNative build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                morris Morris Meyer (Inactive)
                Reporter:
                vadim Vadim Pakhnushev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: