Re: RFR: 8318091: Remove empty initIDs functions

2023-11-06 Thread Sergey Bylokhov
On Fri, 27 Oct 2023 11:01:55 GMT, Daniel Jeliński wrote: >> src/java.desktop/share/classes/java/awt/Button.java line 128: >> >>> 126: static { >>> 127: /* ensure that the necessary native libraries are loaded */ >>> 128: Toolkit.loadLibraries(); >> >> I think it is safer to

Re: RFR: 8318091: Remove empty initIDs functions

2023-10-27 Thread Alexey Ivanov
On Thu, 26 Oct 2023 06:56:16 GMT, Daniel Jeliński 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 loade

Re: RFR: 8318091: Remove empty initIDs functions

2023-10-27 Thread Daniel Jeliński
On Fri, 27 Oct 2023 10:26:26 GMT, Alexey Ivanov 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 lo

Re: RFR: 8318091: Remove empty initIDs functions

2023-10-27 Thread Alexey Ivanov
On Thu, 26 Oct 2023 06:56:16 GMT, Daniel Jeliński 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 loade

Re: RFR: 8318091: Remove empty initIDs functions

2023-10-26 Thread Phil Race
On Thu, 26 Oct 2023 06:56:16 GMT, Daniel Jeliński 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 loade

RFR: 8318091: Remove empty initIDs functions

2023-10-26 Thread Daniel Jeliński
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. - Commit messages: - Rem