RE: Weird compilation problems

2006-04-07 Thread Jon Skeet
It seems that I do not have any inner classes. Here's the source of the file: snip 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

Weird compilation problems

2006-04-06 Thread Milen Dzhumerov
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: SqlErrorCond$1.class SqlErrorCond.class The files have different sizes. Here's the ant file: ?xml version=1.0? project name=SWT Desk default=compile

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 are

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:

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 different