RFR: 8318091: Remove empty initIDs functions

Alexey Ivanov aivanov at openjdk.org
Fri Oct 27 11:12:36 UTC 2023


On Thu, 26 Oct 2023 06:56:16 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> The removed functions are empty on all platforms.
> 
> This patch also removes calls to `Toolkit.loadLibraries();` in classes that no longer have any native methods. The call was needed to ensure that the native awt library is loaded.
> 
> Client libs tests passed.

> Button extends Component, which loads libraries
> FileDialog extends Dialog, which loads libraries

Then it's handled, obviously. `TextField` falls into the same category.

And `KeyboardFocusManager` will also load the libraries because it depends on the `Toolkit` class which, in its turn, loads the libraries.

We're good then, no further changes needed. Thank you!

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

PR Comment: https://git.openjdk.org/jdk/pull/16372#issuecomment-1782729139


More information about the client-libs-dev mailing list