RFR: 8364588: Export the NPE backtracking functionality to general null-checking APIs
Chen Liang
liach at openjdk.org
Mon Aug 4 00:24:15 UTC 2025
Provide a general facility for our null check APIs like Objects::requireNonNull or future Checks::nullCheck (void), converting the existing infrastructure to start tracking from a given stack site (depth offset) and a given stack slot (offset value).
-------------
Commit messages:
- Years
- Roll back Objects.rNN for now
- Review remarks
- Merge branch 'master' of https://github.com/openjdk/jdk into exp/requireNonNull-message-hacks
- Bork
- Try generify the NPE tracing API
- Merge branch 'master' of https://github.com/openjdk/jdk into exp/requireNonNull-message-hacks
- Perf concerns
- Tests, MPs based prints
- Objects rNN better message
Changes: https://git.openjdk.org/jdk/pull/26600/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26600&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364588
Stats: 390 lines in 12 files changed: 335 ins; 13 del; 42 mod
Patch: https://git.openjdk.org/jdk/pull/26600.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26600/head:pull/26600
PR: https://git.openjdk.org/jdk/pull/26600
More information about the security-dev
mailing list