RE: Weird compilation problems

2006-04-06 Thread Jon Skeet
> It seems that I do not have any inner classes. Here's the > source of the file: Using a switch/case with an enum apparently creates an extra class when compiling with javac. (A simple test class does the same thing - if you use "javap -c" to look at the 'extra' class I think you'll see it has

Re: Weird compilation problems

2006-04-06 Thread Milen Dzhumerov
Alexey N. Solofnenko wrote: It is not ANT problem - you have an anonymous inner class. Look for "new AAA() {" somewhere in your code. - Alexey. Milen Dzhumerov wrote: Hi there, I've been trying to compile a few simple classes with Ant and everything is fine except that it produces a cla

Re: Weird compilation problems

2006-04-06 Thread Milen Dzhumerov
Robert Clark wrote: On Thursday April 6, 2006 17:18, Milen Dzhumerov <[EMAIL PROTECTED]> 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 differen

Re: Weird compilation problems

2006-04-06 Thread Alexey N. Solofnenko
It is not ANT problem - you have an anonymous inner class. Look for "new AAA() {" somewhere in your code. - Alexey. Milen Dzhumerov wrote: Hi there, 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: SqlE

Re: Weird compilation problems

2006-04-06 Thread Robert Clark
On Thursday April 6, 2006 17:18, Milen Dzhumerov <[EMAIL PROTECTED]> 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