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

Possible NPE in Component::getLocationOnScreen()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 8, 9, 10
    • client-libs
    • b34
    • generic

      The next Component class code

      2040 // lightweight component location needs to be translated
      2041 // relative to a native component.
      2042 Container host = getNativeContainer();
      2043 Point pt = host.peer.getLocationOnScreen();

      may cause NPE in line 2043 in case of concurrent execution.

            ssadetsky Semyon Sadetsky (Inactive)
            ssadetsky Semyon Sadetsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: