~/talk

The Java Class File API

Talkat Jfokus 2026 · 2026-02-02..02-04· [java]
links:none on file
slides:none on file

Many third party libraries like ASM BCEL and Javassist exist but Java 24 now provides a standard Class File API since Java 24 that parses and builds class files via immutable class models and replayable builders. Examples show dumping constant-pool strings, inserting a logging call at method entry via the transformations helpers, and adding automatic memoization of recursive methods by rewriting a method into a cached impl plus wrapper. Demos use the instrumentation agent for load‑time rewriting and speed fib(60) from unusable to instant.

AI-written summary · about

  1. 0:00Java class file API intro
  2. 4:59Why use the API
  3. 9:16Bytecode basics
  4. 15:18Building a class file
  5. 22:09Adding logging calls
  6. 30:17Runtime transformation with agents
  7. 33:04Bytecode memoization
  8. 47:18Immutable trees usability
  9. 48:43Q&A
~/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.