~/talk

Java 4..21, Kotlin, Code Coverage, bytecode: scandals, intrigues, investigations

slides:none on file

Bytecode inspection of Java (8, 11, 17, 21) and Kotlin shows concrete surprises: JaCoCo filters synthetic methods and special lambda names to avoid false uncovered lines, compilers add bridge/synthetic constructors (fixed by GDK 1.4 vs 11 Nest-based Access Control), try/finally and try-with-resources generate duplicated unreachable branches that JaCoCo merges, switch-by-string uses hash collisions adding extra comparisons, and Kotlin suspend/inline transformations produce many unmatchable branches that still require language-specific filters like special handling for Kotlin-generated methods.

AI-written summary · about

  1. 0:00Introduction to Java and Kotlin
  2. 4:54Java bytecode deep dive
  3. 13:15Synthetic methods and bridges
  4. 21:55Java compiler tricks
  5. 28:00Finally blocks and exceptions
  6. 35:58Kotlin bytecode challenges
  7. 42:25Pattern matching in Java
  8. 49:55Conclusion and Q&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.