<AWT Dev> RFR: 8264125: Specification of Taskbar::getIconImage doesn't mention that the returned image might not be equal to the Taskbar::setIconImage one. (eg on Mac OS) [v5]

Phil Race prr at openjdk.java.net
Thu Jun 17 21:11:27 UTC 2021


On Thu, 17 Jun 2021 20:49:59 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> This fix is to explicitly specify that `Taskbar::getIconImage` may return an object different from passed to `Taskbar::setIconImage`.
>> 
>> Actually it is always returns a different object on macOS(the only OS which supports this feature), but I want to save some options if we decide to rework this.
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   @apiNote added, Suggests -> Requests

Marked as reviewed by prr (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3250


More information about the awt-dev mailing list