RFR: 8210839 Improve interaction between source launcher and classpath

Alan Bateman Alan.Bateman at oracle.com
Sat Sep 22 06:31:12 UTC 2018


On 21/09/2018 23:44, mandy chung wrote:
> On 9/21/18 10:53 AM, Jonathan Gibbons wrote:
>> Updated webrev, incorporating review feedback.
>>
>> Webrev:_http://cr.openjdk.java.net/~jjg/8210839/webrev.01/index.html _
>
> I agree that finding class locally first before delegating to the 
> parent is a reasonable solution in particular with the simple use of 
> this feature.
>
> This change looks good (changing to super.getResource(s) to 
> getParent().getResource(s) is a good one).
I can't see the change just as cr.openjdk.java.net isn't back yet. 
However just to say that loadClass will need to do the same to avoid a 
delegation loop and stack overflow when a class is not found.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180922/5d6af7f4/attachment-0001.html>


More information about the compiler-dev mailing list