RFR: 8228773: URLClassLoader constructors should include API note warning that the parent should not be null [v2]
Jaikiran Pai
jpai at openjdk.org
Thu May 29 13:23:43 UTC 2025
On Thu, 29 May 2025 08:28:12 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> there is no guarantee that all platform classes are visible
>
> sounds (to me) like the behaviour is undefined (which is not the case). A link to the place where the various class loaders are discussed might clarify that.
Alan's suggestion was that we reuse the existing `@apiNote` from the `java.lang.ClassLoader`'s constructor. So this text was borrowed from that place.
Alan, do you suggest we should reword this?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25517#discussion_r2113931597
More information about the net-dev
mailing list