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

Possible NPE in Component::getLocationOnScreen()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9, 10
    • Fix Version/s: 10
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b34
    • OS:
      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

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

              Dates

              Created:
              Updated:
              Resolved: