[8] Review request for 8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx (original) (raw)
Alexander Potochkin alexander.potochkin at oracle.com
Wed Dec 5 10:40:11 UTC 2012
- Previous message: [8] Review request for 8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
- Next message: [8] Review request for 8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Anthony
Hi Anton,
This fix seems to resolve the test failure, but not the bug itself. Do you think it makes sense to investigate why the Mac OS X L&F isn't serializable, and perhaps make it serializable so that the test passes w/o any modifications?
Let me answer this question.
It is a known issue that AquaLaF doesn't support serialization.
When we integrated this code to our repository I did a research and found that it is too complex and risky to fix, moreover since it works the same way for JDK6 (and no one complained) there is no business reason for doing that.
Historically all Swing tests that are not related to a specific LaF are written for Metal.
Since only Mac JDK sets its own LaF by default, the explicit setting of Metal is expected in this test.
Thanks alexp
-- best regards, Anthony On 12/5/2012 1:33 PM, Anton Litvinov wrote: Hello,
Please review the following fix for a bug. Bug: http://bugs.sun.com/bugdatabase/viewbug.do?bugid=8003982 Webrev: http://cr.openjdk.java.net/~alitvinov/8003982/webrev.00 This bug consists in malfunctioning of serialization mechanism for Swing components in "Mac OS X" look and feel (L&F), which is used by default, when this test case is run on OS X operating system. Explicit setting of "Metal" L&F resolves this bug. Thank you, Anton
- Previous message: [8] Review request for 8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
- Next message: [8] Review request for 8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]