<AWT Dev> Integrated: 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)
Alexander Zvegintsev
azvegint at openjdk.java.net
Sat Jun 26 16:01:06 UTC 2021
On Mon, 29 Mar 2021 18:57:55 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.
This pull request has now been integrated.
Changeset: 51a1299b
Author: Alexander Zvegintsev <azvegint at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/51a1299b68fb3a2e58de20209745c89f1d5f9ed3
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
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)
Reviewed-by: kizune, prr
-------------
PR: https://git.openjdk.java.net/jdk/pull/3250
More information about the awt-dev
mailing list