ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Clark <robert.cl...@quest.com>
Subject Re: Weird compilation problems
Date Thu, 06 Apr 2006 21:28:29 GMT
On Thursday April 6, 2006 17:18, Milen Dzhumerov 
<gamehack@1nsp1r3d.co.uk> wrote:
> I've been trying to compile a few simple classes with Ant and
> everything is fine except that it produces a class twice with the
> name: SqlErrorCond$1.class
> SqlErrorCond.class
> The files have different sizes.

Those are not the same class. 'SqlErrorCond$1.class' refers to an 
anonymous inner class of SqlErrorCond.class.

See:

<http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html>

or 

<http://www.faqs.org/docs/think_java/TIJ310.htm> 
    (search for "Inner class identifiers")

for more information on anonymous inner classes.

- Rob

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


Mime
View raw message