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

Call ::SetScrollInfo on toolkit thread in awt.ScrollBar

XMLWordPrintable

      During code review for JDK-8297923, Sergey [~serb] identified [1] ::SetScrollInfo was also used in the native implementation of `WScrollbarPeer.setValues`.

      SyncCall is used to call AwtScrollbar::_SetValues from Java_sun_awt_windows_WScrollbarPeer_setValues, thus _SetValues and, consequently, ::SetScrollInfo are not called on the toolkit thread.

      [1] https://github.com/openjdk/jdk/pull/14338#issuecomment-1579851933

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: