JDK-8160879 : [PIT] CloseOnMouseClickPropertyTest fails with AA hint:Nonantialiased rendering mode exception
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-07-06
  • Updated: 2016-08-04
  • Resolved: 2016-07-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b130Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Run the provided regression test javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java  with a PIT build (I tried Ubuntu 14.04 Xfce4, OEL 7.1, Windows 10, and OS X 10.10): it fails with 
java.lang.IllegalArgumentException: AA hint:Nonantialiased rendering mode

Comments
This is the regression from the fix JDK-8142966 Wrong cursor position in text components on HiDPI display The proposed fix: http://cr.openjdk.java.net/~alexsch/8160879/webrev.00/ The review thread: http://mail.openjdk.java.net/pipermail/swing-dev/2016-July/006257.html
07-07-2016

Actually, I have a lot of failures because of that in the current PIT. Should we make it P2?
07-07-2016