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

MouseInfo.getPointerInfo.getLocationOnScreen is throwing an unspecified exception on multi-monitor setups

XMLWordPrintable

      MouseInfo.getPointerInfo.getLocationOnScreen is throwing an unspecified null-pointer exception on multi-monitor setups when trying to retrieve an offscreen mouse location. Since the specifications only say that null should be thrown when no monitor is connected, the check for on-screen bounds should be removed.

            achung Alisen Chung
            achung Alisen Chung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: