RFR: 8210839 Improve interaction between source launcher and classpath

Alan Bateman Alan.Bateman at oracle.com
Fri Sep 21 17:22:29 UTC 2018


On 21/09/2018 18:15, Jonathan Gibbons wrote:
>
> The check at L616 is because super.getResources will do "the normal 
> delegation thing" and will return an enumeration of the resources in 
> the parent class loader followed by resources in the child class 
> loader. Since we already have found the classes in the child class 
> loader, we want to avoid the duplicate that will be found by 
> super.getResources.
>
Shouldn't that be parent.getResources() rather than super.getResources() ?

-Alan


More information about the compiler-dev mailing list