~/talk

Carrier Classes & Discussing Syntax

Talkat JavaOne 2026 · 2026-03-17..03-19· [java]
slides:none on file

Two recent Amber mails compare an original carrier classes draft that forces a full API contract (construction, representation, derived equals/hashCode) with a tighter followup that limits the class header to deconstruction only, leaving equals/hashCode and field mapping for later. Classes become deconstructible when a canonical constructor matching the component list exists, which unlocks reconstruction and marshaling for non‑records; the next preview targets imperative pattern matching via enhanced local variable declarations. This is a concrete design evolution, not a syntax-only debate.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Project Amber Recap
  3. 7:25Carrier Classes
  4. 27:22Syntax Discussions
  5. 42:06Amber Feature Preview
~/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.