MethodHandles.Lookup.defineResource?
Alan Bateman
Alan.Bateman at oracle.com
Tue Aug 28 16:55:19 UTC 2018
On 28/08/2018 17:38, Stephen Colebourne wrote:
> :
> OK, so maybe we've established what could be done - a new method on
> ClassLoader that would initially not work on implementations outside
> the JDK.
>
> So, there is a functionality gap here, but I'm guessing no particular
> desire to make a change.
>
I don't see this as a gap as there is no support for making new classes
visible via the class path either. As I think we've concluded, doing so
would require extending the ClassLoader API and would require all custom
implementations to support it.
-Alan
More information about the core-libs-dev
mailing list