RFR: JDK-8281000 ClassLoader::registerAsParallelCapable throws NPE if caller is null [v7]
Tim Prinzing
duke at openjdk.java.net
Wed Feb 16 21:39:20 UTC 2022
> JDK-8281000 ClassLoader::registerAsParallelCapable throws NPE if caller is null
Tim Prinzing has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 10 commits:
- Merge master
- fix test breakage from rename
- reformat test summary
- reformat test summary
- improve test name and remove experimental test code
- fix copyright date
- More changes from feedback.
The javadoc is improved to reflect InvalidCallerException is thrown with
a caller that can't be assigned to a ClassLoader as well as a null
caller frame. Added a test IsParallelCapableBadCaller that uses
reflection hackery to create a case where called with an invalid caller
on the call stack.
- Changes from feedback.
- Copyright dates fixed
- IllegalCallerException thrown for no caller frame, and associated
javadoc changes
- test changed to look for IllegalCallerException thrown.
- Merge branch 'master' into JDK-8281000
- JDK-8281000 ClassLoader::registerAsParallelCapable throws NPE if caller is null
-------------
Changes: https://git.openjdk.java.net/jdk/pull/7448/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7448&range=06
Stats: 216 lines in 5 files changed: 216 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/7448.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7448/head:pull/7448
PR: https://git.openjdk.java.net/jdk/pull/7448
More information about the core-libs-dev
mailing list