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

[macos] ImageCursor.getBestSize() throws NullPointerException

    Details

    • Subcomponent:
    • Introduced In Build:
      b29
    • Introduced In Version:
      10
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      While testing ImageCursor related tests, found the tests were not getting launched and found that ImageCursor.getBestSize() method throws NullPointerException.
      The issue is found with JDK 10 on macosx only.

      Attached test code to reproduce the issue.

      The actual result:
      The ImageCursor dialog can not be launched which is like REF1.png .

        Attachments

        1. exception.txt
          3 kB
        2. REF1.png
          REF1.png
          17 kB
        3. Test.java
          0.6 kB

          Issue Links

            Activity

              People

              • Assignee:
                pbansal Pankaj Bansal
                Reporter:
                tonyli Tony Li
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: