JDK-8065960 : [TEST_BUG] Several tests still depending on sun.awt.exception.handler should be rewritten
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-11-26
  • Updated: 2022-11-01
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The property sun.awt.exception.handler and the correspondent mechanism were replaced by an official API in JDK7.  It was b49 to be precise.  See JDK-4714232 and JDK7 compatibility document, for instance http://www.oracle.com/technetwork/java/javase/compatibility-417013.html 
There are still several regression tests setting and depending on this property. They should be rewritten or removed.

java/awt/List/ActionAfterRemove/ActionAfterRemove.java
java/awt/TrayIcon/DragEventSource/DragEventSource.java
java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java

Comments
There's no exception handler mentioned in a property: java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java
13-04-2015

Will be fixed with JDK-8063104 : java/awt/List/ActionAfterRemove/ActionAfterRemove.java
26-11-2014