[External] : Re: Local execution - class loader & class path issues
Archie Cobbs
archie.cobbs at gmail.com
Fri Aug 18 22:12:03 UTC 2023
On Tue, Aug 15, 2023 at 10:10 AM Jan Lahoda <jan.lahoda at oracle.com> wrote:
> On 15. 08. 23 16:41, Archie Cobbs wrote:
>
> On Tue, Aug 15, 2023 at 8:12 AM Jan Lahoda <jan.lahoda at oracle.com> wrote:
>
>>
>> *Question*: Shouldn't LoaderDelegate.addToClasspath() have been passed
>> the --class-path flag at some point in the example above? JShell's L
>> ocalExecutionControl uses DefaultLoaderDelegate, which uses a class
>> loader of type DefaultLoaderDelegate.RemoteClassLoader. This would have
>> added classes to RemoteClassLoader's class path.
>>
>> Possibly.
>>
> Thanks for the mild endorsement :) If you don't object I may file a bug
> for this.
>
> Sure, please do!
>
I've filed a bug <https://bugs.openjdk.org/browse/JDK-8314327> and
submitted a PR <https://github.com/openjdk/jdk/pull/15311> for this and a
couple of related issues.
Hopefully these are reasonable improvements - I'm of course interested in
any feedback.
Thanks,
-Archie
--
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/kulla-dev/attachments/20230818/2605007b/attachment.htm>
More information about the kulla-dev
mailing list