~/talk

Java 17 & 18. What's new and noteworthy

Talkat Devoxx Poland 2022 · 2022-06-22..06-24· [java]
slides:none on file

Java 17 ships as LTS with about 14 JEPs and Java 18 follows with 9 JEPs; notable concrete changes: sealed classes are standard (compiler-enforced permits and non-sealed options), strong encapsulation removes the old illegal-access permits flag so reflection hacks must be fixed or run on Java 16, finalize is deprecated for removal, UTF‑8 becomes default (watch Windows file encoding), and a foreign function & memory API demo shows native memory segments, thread confinement errors and a downcall to getuid returning 1000; Java 18 also adds a tiny programmatic simple web server, pattern‑matching for switch (no fall‑through, guards), and enhanced PRNGs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Java 17 and 18 overview
  3. 4:21LTS vs non-LTS releases
  4. 10:24Sealed classes in Java 17
  5. 23:29Strongly encapsulated JDK internals
  6. 33:44UTF-8 as default encoding
  7. 39:02Deprecating finalization
  8. 46:05Simple web server in Java 18
  9. 52:05Code snippets in Javadoc
  10. 57:01Preview features in Java
  11. 59:07Pattern matching for switch
  12. 1:16:16Foreign function and memory API
  13. 1:35:18Enhanced pseudo-random generators
  14. 1:37:23Strict floating-point semantics
  15. 1:39:09Deserialization filters
  16. 1:40:12Deprecations and removals
  17. 1:43:25Feedback and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.