Github user bodewig commented on the pull request:
https://github.com/apache/ant/pull/18#issuecomment-220823223
Thanks so much Tomáš and sorry for taking so long to get back to you.
I may be reading the code wrong, but do we end up with the modules being on
the CLASSPATH as well as the module path if JUnit ist't part of the CLASSPATH?
Can this do harm?
The code
```java
return loader.getResource("junit.framework.Test") != null;
```
looks curious to me. I recall applying a fix to Ant's scriptdef subsystem
because we've been told you wouldn't be able to load classes as resources
anymore (we used `ClassName.class` rather than `ClassName`, though) - has this
changed?
And one nit, Ant has been bitten by locale sensitive bugs before, please
use `Locale.ENGLISH` when using `toLowerCase`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]