Issue with BuiltinClassLoader.ucp field not being visible

Luke Hutchison luke.hutch at gmail.com
Tue Aug 10 06:58:12 UTC 2021


On Tue, Aug 10, 2021 at 12:51 AM Luke Hutchison <luke.hutch at gmail.com>
wrote:

> Could a getURLClassPath() method please be added to BuiltInClassLoader?
>

For security reasons, the getURLClassPath() method should return a copy of
ucp, not the reference to ucp, to prevent the caller from modifying the
system classpath.


More information about the core-libs-dev mailing list