<AWT Dev>  Review request for 8159374 : Taskbar.setIconBadge() spec omits mention of exception for ICON_BADGE_TEXT feature
alexander.zvegintsev at oracle.com
Tue Jul 5 14:54:47 UTC 2016
We have two cases:
1. Underlying system(Linux) supports only numbers as parameter (adding
this check will block Linux).
2. Underlying system(OS X) supports strings as parameter, but since we
can always convert a number to a string numbers are supported too.
So if system doesn't support numbers it doesn't support strings too,
thus this exception will be thrown in this case.
On 7/5/16 5:32 PM, Alexandr Scherbatiy wrote:
> On 7/5/2016 5:04 PM, Alexander Zvegintsev wrote:
>> please review the fix
>> for the issue
> Should the "checkFeatureSupport(Feature.ICON_BADGE_TEXT)" be added
> to the setIconBadge() method?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev