RFR: JDK-8281000 ClassLoader::registerAsParallelCapable throws NPE if caller is null [v7]
Brent Christian
bchristi at openjdk.java.net
Wed Feb 16 22:37:04 UTC 2022
On Wed, 16 Feb 2022 21:39:20 GMT, Tim Prinzing <duke at openjdk.java.net> wrote:
>> 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
Looks fine.
-------------
Marked as reviewed by bchristi (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7448
More information about the build-dev
mailing list