~/talk

Integrity by Default

Talkat JavaOne 2025 · 2025-03-18..03-20· [java, security]
links:none on file
slides:none on file

Java is moving to Integrity by Default: invariants become enforceable unless the application explicitly opts out. Internal access is being restricted (deep reflection, agents, JNI, Unsafe) via a staged process of illegal native access warning→deny, central runtime flags and module boundaries, so upgrades stop collapsing into a dependency-driven maintenance mess (the 8→9 migration pain is cited as 99%+ due to internals). More runtime (JIT, thread scheduler, parts of I/O) is now Java, so these restrictions aim to restore portability, security, and optimizeability while allowing controlled opt‑outs like add-opens/add-exports flags.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Java's changing landscape
  3. 5:50The necessity of evolution
  4. 11:06Defining integrity
  5. 16:18Risks to encapsulation
  6. 21:47Security and performance
  7. 28:22Integrity by default
  8. 32:36Handling flags and risks
  9. 37:16Special cases
  10. 40:11Gradual implementation
~/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.