Github user tzezula commented on a diff in the pull request:

    https://github.com/apache/ant/pull/16#discussion_r58201438
  
    --- Diff: src/tests/junit/org/apache/tools/ant/taskdefs/JavacTest.java ---
    @@ -244,4 +248,85 @@ public void testTargetOverridesDefault() {
             javac.setTarget("1.5");
             assertEquals("1.5", javac.getTarget());
         }
    +
    +    @Test
    +    public void testModulesourcepathOrSrcDirRequired() {
    +        try {
    +            javac.checkParameters();
    +            fail("Build exception should have been thrown - neither srcDir 
nor modulesourcepath");
    +        } catch (BuildException e) {
    +            //pass
    --- End diff --
    
    Thanks! I didn't know this.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to