RFR: 8340899: Remove wildcard bound in PositionWindows.positionTestWindows

Phil Race prr at openjdk.org
Wed Sep 25 20:58:46 UTC 2024


On Wed, 25 Sep 2024 11:31:38 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Removes the wildcard bound from `PassFailJFrame.PositionWindows.positionTestWindows` so that implementing the interface is simpler as one don't have to remember to declare the `testWindows` parameter as `List<? extends Window>` — just use `List<Window>`.
> 
> It is a backwards compatible change, all the tests which use `List<? extends Window>` continue to compile successfully.

Marked as reviewed by prr (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21181#pullrequestreview-2329522271


More information about the client-libs-dev mailing list