ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ant] basil opened a new pull request #152: Call correct method to get parent from getRootLoader()
Date Wed, 21 Jul 2021 16:36:23 GMT

basil opened a new pull request #152:
URL: https://github.com/apache/ant/pull/152


   See [#149 (comment)](https://github.com/apache/ant/pull/149#issuecomment-884318912). Similar
to what #151 did for `findResources(String, boolean)`, this PR amends `getRootLoader()` to
invoke the correct method to get the parent. The `getParent()` method returns the immutable
`parent` field from the parent `ClassLoader` class, which is not used by `AntClassLoader`.
The correct method is `getConfiguredParent()` (introduced in commit 26f846b83), which returns
the mutable `parent` field from the `AntClassLoader` class.
   
   **Untested.**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message