~/talk

Java After Eleven

Talkat Cloud Builders: Java Conf #StandWithUkraine · on Tuesday, 2022-08-23· [java]
slides:none on file

A small Java 11 codebase that turns Markdown into a recommendations JSON is updated live to Java 17 and preview 18/19 using SDKMAN, IntelliJ and Maven; the demo runs the program 10 times (first run ~1.4s) and produces the JSON successfully. Concrete rewrites include replacing nested CompletableFuture joins with exceptionallyCompose, switching to expression-style switch cases, using text blocks and instance String.format, converting tiny data holders to records, adding pattern matching for instanceof and sealed types, and enabling pattern-matching switch.

AI-written summary · about

  1. 0:00Introduction to Java after 11
  2. 1:09Why upgrade from Java 11
  3. 3:15Updating to Java 12 demo
  4. 5:02CompletableFuture improvements in Java 12
  5. 6:47Switch expressions in Java 14
  6. 9:33NullPointerException enhancements in Java 14
  7. 12:20Text blocks in Java 15
  8. 15:47String format improvements in Java 15
  9. 16:50Records in Java 16
  10. 18:33Records for quick data classes
  11. 21:04Type patterns in Java 16
  12. 23:29Sealed types in Java 17
  13. 25:34Pattern matching in switch Java 19
  14. 29:08Java 17 performance improvements
  15. 29:51Q&A on Java features
~/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.