~/talk

Effective Java SE 16 APIs

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [java]
slides:none on file

Covers concrete JDK 9–17 changes with runnable demos and migration advice: jlink produces ~16MB custom runtime images and modularity hides internal APIs; single-file execution works as java Hello.java with in-memory compilation (java Hello.java runs without explicit compilation); built-in java.net.http replaces third-party clients and supports HTTP/2 and WebSocket; language additions include switch expressions, text blocks, records and sealed classes; container-awareness fixes Docker memory reporting and G1 GC shows ~60% faster throughput; several legacy Java EE modules and Nashorn are removed.

AI-written summary · about

  1. 0:00Intro
  2. 3:08JAVA HISTORY
  3. 4:41BIG CHANGE (MODULARITY)
  4. 7:50JIGSAW PROJECT GOALS
  5. 20:12Java Shell REPL tool: jshell - Java y
  6. 23:16NEW var TYPE - JAVA 10
  7. 30:15WEBSOCKET CLIENT MODULZ
  8. 30:57OLD SWITCH STATEMENT
  9. 32:01new Switch statement - Java 12
  10. 33:30Yield and switch expression - Java
  11. 36:05Pattern matching for instanceof Previ
  12. 40:03Sealed Classes (Preview) - Java 15
  13. 42:25String CLASS NEW ENHANCEMENTS
  14. 49:03NEW GARBAGE COLLECTORJ
  15. 52:55FLIGHT RECORDER
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.