Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v3]

2024-10-16 Thread Andy Goryachev
On Wed, 16 Oct 2024 02:25:53 GMT, Prasanta Sadhukhan wrote: >> While implementing >> [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) to eliminate >> native access warnings by passing "--enable-native-access" for the three >> JavaFX modules with native code (javafx.graphics, javafx.

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v3]

2024-10-16 Thread Kevin Rushforth
On Wed, 16 Oct 2024 02:25:53 GMT, Prasanta Sadhukhan wrote: >> While implementing >> [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) to eliminate >> native access warnings by passing "--enable-native-access" for the three >> JavaFX modules with native code (javafx.graphics, javafx.

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v3]

2024-10-15 Thread Prasanta Sadhukhan
> While implementing [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) > to eliminate native access warnings by passing "--enable-native-access" for > the three JavaFX modules with native code (javafx.graphics, javafx.media, and > javafx.web), it was found that the Swing interop code i

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v2]

2024-10-15 Thread Kevin Rushforth
On Tue, 15 Oct 2024 17:46:33 GMT, Prasanta Sadhukhan wrote: >> While implementing >> [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) to eliminate >> native access warnings by passing "--enable-native-access" for the three >> JavaFX modules with native code (javafx.graphics, javafx.

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v2]

2024-10-15 Thread Kevin Rushforth
On Tue, 15 Oct 2024 18:18:18 GMT, Andy Goryachev wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Move native method to Application > > modules/javafx.graphics/src/main/native-prism/SwingInterop.c line 27: >

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v2]

2024-10-15 Thread Andy Goryachev
On Tue, 15 Oct 2024 17:46:33 GMT, Prasanta Sadhukhan wrote: >> While implementing >> [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) to eliminate >> native access warnings by passing "--enable-native-access" for the three >> JavaFX modules with native code (javafx.graphics, javafx.

Re: RFR: 8340005: Eliminate native access calls from javafx.swing [v2]

2024-10-15 Thread Prasanta Sadhukhan
> While implementing [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) > to eliminate native access warnings by passing "--enable-native-access" for > the three JavaFX modules with native code (javafx.graphics, javafx.media, and > javafx.web), it was found that the Swing interop code i

Re: RFR: 8340005: Eliminate native access calls from javafx.swing

2024-10-15 Thread Kevin Rushforth
On Tue, 15 Oct 2024 17:03:09 GMT, Andy Goryachev wrote: >> modules/javafx.graphics/src/main/native-prism/SwingInterop.c line 31: >> >>> 29: * Class com_sun_javafx_application_PlatformImpl >>> 30: * Method: overrideNativeWindowHandle >>> 31: * Signature >>> (Ljava/lang/Class;JLjava/lang/Runna

Re: RFR: 8340005: Eliminate native access calls from javafx.swing

2024-10-15 Thread Andy Goryachev
On Tue, 15 Oct 2024 16:54:14 GMT, Kevin Rushforth wrote: >> While implementing >> [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) to eliminate >> native access warnings by passing "--enable-native-access" for the three >> JavaFX modules with native code (javafx.graphics, javafx.medi

Re: RFR: 8340005: Eliminate native access calls from javafx.swing

2024-10-15 Thread Kevin Rushforth
On Tue, 15 Oct 2024 03:18:09 GMT, Prasanta Sadhukhan wrote: > While implementing [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) > to eliminate native access warnings by passing "--enable-native-access" for > the three JavaFX modules with native code (javafx.graphics, javafx.media,

Re: RFR: 8340005: Eliminate native access calls from javafx.swing

2024-10-15 Thread Kevin Rushforth
On Tue, 15 Oct 2024 03:18:09 GMT, Prasanta Sadhukhan wrote: > While implementing [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) > to eliminate native access warnings by passing "--enable-native-access" for > the three JavaFX modules with native code (javafx.graphics, javafx.media,

Re: RFR: 8340005: Eliminate native access calls from javafx.swing

2024-10-15 Thread Andy Goryachev
On Tue, 15 Oct 2024 03:18:09 GMT, Prasanta Sadhukhan wrote: > While implementing [JDK-8339517](https://bugs.openjdk.org/browse/JDK-8339517) > to eliminate native access warnings by passing "--enable-native-access" for > the three JavaFX modules with native code (javafx.graphics, javafx.media,