<Swing Dev> [9] Review request for 8078614 WindowsClassicLookAndFeel : MetalComboBoxUI.getbaseLine fails with IllegalArgumentException

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Tue Apr 28 14:08:36 UTC 2015


  The fix looks good to me.

  Thanks,
  Alexandr.

On 4/27/2015 6:44 PM, Victor D'yakov wrote:
> Hello,
>
> Please review the fix for JDK9:
> bug: https://bugs.openjdk.java.net/browse/JDK-8078614
> webrev link: 
> http://cr.openjdk.java.net/~alexsch/victor-dyakov/8078614/webrev.00/
> Root Cause:
>     The case where the height can be less than insets top+bottom is 
> not checked.
> Solution:
>     Return 0 for case where the height is less than insets top+bottom.
> Testing:
>     Run test/javax/swing/JComboBox/6632953/bug6632953.java automated 
> test.
>
> -- 
> Victor




More information about the swing-dev mailing list