ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: tests failing w/ illegal access error
Date Wed, 21 Apr 2004 06:38:06 GMT
On Tue, 20 Apr 2004, Steve Loughran <> wrote:

> Anyone else seen this?

Something like this in strange classloader setups.

Are you forking <junit>?  Are parts of Ant or build/classes or
build/testcases on your CLASSPATH?

You get a method like this when a class tries to invoke a protected
method on another class in the same package (legal, so it compiles)
but the two classes have been loaded by different classloaders (so
they actually are not in the same package).

The Ant tests we don't run unless tests.and.ant.share.classloader is
set suffer from this problem.


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

View raw message