Integrated: 8340899: Remove wildcard bound in PositionWindows.positionTestWindows

Alexey Ivanov aivanov at openjdk.org
Thu Sep 26 11:37:43 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.

This pull request has now been integrated.

Changeset: e2626db2
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e2626db2f00d0cc9f3ff8ea374a1ccc89373e398
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8340899: Remove wildcard bound in PositionWindows.positionTestWindows

Reviewed-by: azvegint, prr

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

PR: https://git.openjdk.org/jdk/pull/21181


More information about the client-libs-dev mailing list