On Mon, 9 Jun 2025 15:37:27 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> ```
> ...
> WARNING: Use --enable-native-access=javafx.graphics to avoid a warning for 
> callers in this module
> WARNING: Restricted methods will be blocked in a future release unless native 
> access is enabled
> ```
> 
> why?

Because you forgot to pass `--enable-native-access=javafx.graphics`

See:
https://github.com/openjdk/jfx/blob/master/doc-files/release-notes-24.md#javafx-applications-must-use---enable-native-access

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

PR Comment: https://git.openjdk.org/jfx/pull/1814#issuecomment-2956473288

Reply via email to