ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: cvs commit: ant/src/testcases/org/apache/tools/ant
Date Mon, 07 Mar 2005 16:07:26 GMT
On Mon, 7 Mar 2005, Matt Benson <> wrote:
> That's what I thought, but the test got:
> [junit] java.lang.IllegalAccessError: tried to access
> method
> .ant.DirectoryScanner.getScannedDirs()Ljava/util/Set;
> from class

How do you run the tests?

Looks like a classloader issue (your test has been loaded from a
different classloader than the class to test which means they are not
inside the same package).

There are other tests that rely on being in the same package, we
exclude them via the tests.and.ant.share.classloader property.


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

View raw message