JeffersonLab / coatjava

1 stars 17 forks source link

java 17 and javafx 22 #308

Closed baltzell closed 1 month ago

baltzell commented 1 month ago

supersedes #300 and #301

gavalian commented 1 month ago

I'm now working to incorporate InstaRec online, and want to experiment with virtual threads, available only in JDK 21. Can we switch to 21 instead? If not, I will come up wth workaround.

c-dilks commented 1 month ago

I'm now working to incorporate InstaRec online, and want to experiment with virtual threads, available only in JDK 21. Can we switch to 21 instead? If not, I will come up wth workaround.

21 also has the new foreign function and memory API, which may be useful for Iguana bindings. JNI should be sufficient though, if we want to stay with 17.

gavalian commented 1 month ago

My immediate needs are threads, but I had my eye on foreign functions too. There is no point in using JNI if Java is deprecating them. Also, 21 is the current version, how long should we wait until transitioning to it if not now?