3 ms·
JDK 20 introduced the Scoped Values JEP as a preview, and also had significant changes to the Panama Foreign Function & Memory (FFM) preview API: - Scoped Valu
by gavinray 3y ago
JDK 20 introduced the Scoped Values JEP as a preview, and also had significant changes to the Panama Foreign Function & Memory (FFM) preview API:
- Scoped Values: https://openjdk.org/jeps/429 https://openjdk.org/jeps/429
- Panama FFM 2nd: https://openjdk.org/jeps/434 https://openjdk.org/jeps/434
The changes in the Panama API were so drastic between 19 and 20 that any code you had written would no longer work. Which is the point of interim releases like these.
I happen to have a lot of experimental Panama code that has been continually evolving with these non-LTS releases since the initial release.
- vbezhenar 3y agoI think that preview features are not something that any sizeable chunk of developers will use. So while technically you're correct, I still consider Java 20 to be pretty minor release.
- gavinray 3y agoThat's fair, and I'm inclined to agree. Just wanted to point out there wasn't _really_ nothing new, even if it might have been somewhat pedantic.