~/talk

Wat? That’s Possible in Java?

Talkat JCON EUROPE 2025 · 2025-05-12..05-15· [java, creative-coding]
slides:none on file

Live demos show concrete surprises: Integer cache via reflection lets code rewrite cached wrapper values (newer JDKs require module opens), a sneaky throw generic cast raises checked exceptions without declaring them, receiver parameters let methods accept an explicit this-like first argument, and mutating a String’s internal value array via reflection changes supposedly final constants. Also covers preview features (top-level main, pattern matching edge cases where int instance-of float fails due to float encoding) and odd brace/semicolon hacks that only work by formatting.

AI-written summary · about

  1. 0:00Introduction
  2. 0:56Python-like Java syntax
  3. 3:43Receiver parameters and maps
  4. 6:16Inlining pitfalls
  5. 8:16Advanced instanceof usage
  6. 11:22Integer cache manipulation
  7. 14:35Sneaky checked exceptions
  8. 16:12String reflection tricks
  9. 18:29Array syntax and conclusion
~/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.