Your math is a bit off: it's 2 years from now, not 7. We recently bumped
the minimum for JavaFX 23 to JDK 21. Two years from now, we will bump
the minimum for JavaFX 27 to JDK 25.
We might consider bumping it even earlier to a non-LTS, as an exception
to our general practice, specifically to enable Panama, given the need
to get away from sun.misc.Unsafe (used by Marlin), so there is a
possibility that it could be less than 2 years. That will require a some
discussion.
-- Kevin
On 4/22/2024 7:49 AM, Thiago Milczarek Sayão wrote:
I was just experimenting, but it seems to be less work than going with
JNI.
If I am correct, the next Java LTS will be 25, which will be required
on JavaFX 29 to be released on September/29.
It's 7 years - that's really too much.
Maybe it's still worthwhile to prototype using FFM and then port
everything to JNI.
-- Thiago.
Em seg., 22 de abr. de 2024 às 11:21, Kevin Rushforth
<kevin.rushfo...@oracle.com> escreveu:
Note also that we cannot use Panama in the JavaFX internals yet,
since
the minimum version of the JDK is 21.
-- Kevin
On 4/21/2024 10:51 AM, Thiago Milczarek Sayão wrote:
> Hi,
>
> I did a small test app to explore Wayland client and portals (for
> Robot and dialogs such as file open/save).
>
> https://github.com/tsayao/wayland-test/blob/main/wayland-test.c
<https://urldefense.com/v3/__https://github.com/tsayao/wayland-test/blob/main/wayland-test.c__;!!ACWV5N9M2RV99hQ!M9a_ZeceeAYBM6HeFY0zVabze987SRL-VN9JBp4GLwp35yRw8duanIu56wIWzA7FQ_rPopMc-U4nnEW-7brTKy5bIOc$>
>
> It seems it will work as a glass backend, but some walls will be
hit
> on the way :)
>
> I have tried to use jextract (from project Panama) to work directly
> with java, but it seems it does not support wl_ types.
>
> -- Thiago.