<Swing Dev> Bug : JDK-8078831 Mismatch of getPreferredSize() and getPreferredScrollableViewportSize() values in WindowsClassicLookAndFeel

Rajeev Chamyal rajeev.chamyal at oracle.com
Wed Aug 26 09:13:22 UTC 2015


Hi,

 

Please review the following fix for jdk9:
 
Bug: https://bugs.openjdk.java.net/browse/JDK-8078831 

Webrev : http://cr.openjdk.java.net/~psadhukhan/rajeev/5042886/webrev.00/

getPreferredScrollableViewportSize() must not return the same as getPreferredSize() but it should return equal or less size. Test condition was checking for inequality and throwing Runtime exception.
 
Regards,
Rajeev Chamyal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20150826/a3add5ff/attachment.html>


More information about the swing-dev mailing list