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

Possible NPE in Component::getLocationOnScreen()

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: