~/talk

Scala, Kotlin, Java and Code Coverage: Reveal Everything That’s Hidden

TalkinRussianat SnowOne 2021 · 2021-02-26..02-27· [java, compilers-and-language-design]
links:none on file
slides:none on file

Shows how Scala, Kotlin and Java compilers generate different JVM bytecode constructs and what Scala inserts into class files. Uses JaCoCo (a popular Java code-coverage tool) to inspect and filter compiler-generated helper code, explaining how that affects test coverage measurement and how JaCoCo handles those constructs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54Talk overview
  3. 7:21Empty Scala class bytecode
  4. 9:49Java interfaces default methods
  5. 11:20Kotlin interfaces default methods
  6. 14:07Scala interfaces default methods
  7. 16:39Synthetic methods in Java
  8. 19:50Nested classes access control
  9. 23:05Scala nested classes behavior
  10. 25:16Lambda expressions Java Scala
  11. 29:15Default parameters Kotlin Scala
  12. 33:25Java records bytecode
  13. 35:40Scala data classes comparison
  14. 37:05Pattern matching Scala vs Java
  15. 41:45Switch expressions Java Scala
  16. 44:36Scala case classes
  17. 46:25Scala lazy values
  18. 48:33Try-with-resources bytecode
  19. 51:06Language evolution bytecode
  20. 53:54Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.