<Swing Dev> RFR: 8146330 [macosx] UIDefaults.keys() different size than UIDefaults.keySet()

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Mar 9 11:57:08 UTC 2020


Hi, Tejpal.
Do not you need to call super.keySet() as well?
   +set.addAll(super.keySet());
    return set;

similar to public Set<Entry<Object, Object>> entrySet() {...}

It would be good to update the test to cover this.

On 3/8/20 5:03 pm, Tejpal Rebari wrote:
> Hello Pankaj and Sergey,
> 
> I have updated the keySet() method and test as per your suggestions.
> Please take a look.
> 
> Webrev : http://cr.openjdk.java.net/~trebari/swing/8146330/webrev1/
> 
> Regards
> Tejpal


-- 
Best regards, Sergey.


More information about the swing-dev mailing list