JDK-6360796 : Regression: test setLWRequestStatusZOrderTest2 fails with 1.4.2_11b01 but passes with 1.4.2_10FCS
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2_11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2005-12-08
  • Updated: 2011-02-16
  • Resolved: 2006-01-27
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
1.4.2_11 b03Fixed
Related Reports
Relates :  
Relates :  
Description
Test AWT_Hopper_WS/Oracle_Focus_Rework/Swing/setLWRequestStatusZOrderTest2 fails with 1.4.2_11b01 but passes with 1.4.2_FCS under Solaris10 AMD64. This is a functional testsuite regression and needs to be fixed.
.

Comments
EVALUATION The testcase apparently fails in a situation where the graphics object is used after it has been disposed. In mantis, NullSurfaceData class was introduced to handle such a situation. But NullSurfaceData throws an InternalError in getRaster() method which is triggered whenever we try to render to/from this object. The fix would be a backport of fix for 4862193 and 4989831 (both in tiger) where we would throw a NPE from getRaster() and catch it from wherever it gets called and do a noop.
17-01-2006