ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bodewig <>
Subject [GitHub] ant pull request: JDK9 modules support for JUnitTask
Date Sun, 22 May 2016 09:41:26 GMT
Github user bodewig commented on the pull request:
    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
    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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message