~/talk

The long good-bye to NPE

Talkat EclipseCon 2022 · 2022-10-24..10-27· [java, testing]
links:none on file
slides:none on file

Eleven years after the original promise, NullPointerExceptions still occur; the work produces concrete advances: JDT implements flow analysis for locals, method-level null contracts, and a conservative syntactic field checks rule that forbids any intervening code between null check and dereference. Java 8 type-use annotations let generics carry nullness, and an external annotation format (.eea) plus IDE Ctrl‑1 support, exportable artifact handling and classpath-container integration let CI and the IDE share annotations. A brute-force batch-compile mode scans classpath entries for external .eea files to reduce runtime NPE risk.

AI-written summary · about

  1. 0:00Start
  2. 3:02Null Reference Analysis
  3. 4:45Using Annotations for Null Checking
  4. 9:40Null Annotations on Types
  5. 19:58Generics meet Legacy
  6. 23:53How do clients see my code?
~/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.