ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: tests failing w/ illegal access error
Date Wed, 21 Apr 2004 06:38:06 GMT
On Tue, 20 Apr 2004, Steve Loughran <steve_l@iseran.com> 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.

Stefan

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


Mime
View raw message