~/talk

Java Source to Byte Code Transformation - The Hidden Story!

Talkat EclipseCon 2023 · 2023-10-16..10-19· [java, compilers-and-language-design]
links:none on file
slides:none on file

Explains how ECJ turns .java text into .class bytes by running a generated scanner/parser to produce an abstract syntax tree, then layering phases: symbol resolution, type inference (diamond, lambdas), flow analysis (uninitialized vars, liveness), and codegen that computes max stack and emits local variable tables, stack map table and synthetic parameters like the implicit this. Mentions parser-generator use, refactoring via AST APIs, IDE hooks (type index used for Ctrl‑Shift‑T), and how finally/exception tables can produce duplicated bytecode paths.

AI-written summary · about

  1. 0:00Java bytecode transformation intro
  2. 3:19Front end compilation
  3. 10:09Compiler grammar and errors
  4. 14:09Back end compilation stages
  5. 17:07Type inference and flow
  6. 23:05Stack maps and verification
  7. 25:22IDE compiler integration
  8. 27:32Records synthetic code
  9. 30:53Finally blocks in bytecode
~/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.