I believe eclipse has it's own incremental compiler. Possibly based on jikes given the ibm background.

In case you never noticed it, the eclipse compiler will successfully compile invalid java. Replaces the method body with code to throw an exception. Confused me the first time I saw it - how on earth can I be getting a compile error from my webapp?!?!



Jon Strayer wrote:

** Reply to message from "Jon Strayer" <[EMAIL PROTECTED]> on
Sun, 9 Mar 2003 12:48:09 -0500



** Reply to message from [EMAIL PROTECTED] on Mon, 10
Mar 2003 04:34:01 +1100



Run maven -e and post the stack trace for us to look at....


java:compile:
   [javac] Compiling 18 source files to
C:\eclipse\workspace\WBNT\target\class


The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError



I tried compling the class it's puking on from the cammand line and got the same error. So, it's got nothing to do with Maven. I wish I could figure out why Eclipse could complie it. BTW, the same class makes Jalopy throw up as well.

I didn't realize how bad it was until I started counting,
but there is an 'if' who's conditon is 146 lines long. There are 876 expressions in the condition. I can see why
that might cause some problems. But I don't understand why
Eclipse can compile it.







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to