~/talk

From Legacy to Cutting-Edge: Live Refactoring Java 8 to 24

Talkat Great International Developer Summit 2025 · 2025-04-22..04-25· [java]
github:malagupta
slides:none on file

Live demo refactors a Java 8 repo to Java 24 using IntelliJ inspections and an automated assistant called Juny AI, converting a 54‑line POJO into a record, replacing System.out with implicit IO and an instance main, applying text blocks, module imports and flexible constructor calls; the IDE runs a migration inspection across ~16 classes, auto-generates tests and runs them in ~10 minutes (claiming a 3–4 hour manual save), but the AI injects unwanted changes like virtual threads, so results mostly work but require human review.

AI-written summary · about

  1. 0:00Introduction to Java modernization
  2. 3:55Hello world in Java 8
  3. 5:00Converting to Java records
  4. 7:31Implicit classes in Java
  5. 10:22Simplifying imports with modules
  6. 23:37Reducing boilerplate code
  7. 35:01Text blocks for multiline strings
  8. 38:13Code inspections in IntelliJ
  9. 44:10Flexible constructors in Java 24
  10. 47:44Switch expressions overview
  11. 48:25Markdown comments in Java
  12. 49:50Creating inspection profiles
  13. 53:25AI-powered code refactoring with Juni
  14. 57:55Q&A and closing remarks
~/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.