Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling ant to a native binary



On Wednesday, Aug 27, 2003, at 20:16 America/New_York, Ray O'Leary wrote:

This is interesting. I worked on a large J2EE project (thousands of classes, hundreds of thousands of lines of code) for two years until Feb. 2002, using jikes to compile and Jikes never hit any "bad" byte code.

On Wednesday, Aug 27, 2003, at 18:15 America/Chicago, Joseph Dane wrote:

Rob Lockstone <email@hidden> writes:

Fwiw, I've read on several occasions that the byte code generated by
jikes isn't always reliable. I don't know why or under what
circumstances it produces "bad" code, but for that reason alone, I
won't use jikes and would caution others to be careful.

I'll throw in a "me too", although it's been at least a year since I
last tried jikes.
<snip>

There are certainly things that Jikes will not compile that Javac will. Largely odd corner cases involving protected methods.
Jikes also uses a different way of compiling constructors, which trips up some tools.
Further Jikes does not use the same patterns when compiling inner classes, so often if you mix jikes compiled classes with javac compiled classes you'll get NoSuchMethodErrors or even VerifierErrors when you try to run. Obviously, if you stick to one compiler, your problems will be less!

I see this every day at work (~ 5000 classes in the project). Its been a couple of versions since Jikes could even compile our whole source tree without segfaulting.

All this aside the main problem with jikes is that it appears to have been abandoned. No one is paid to maintain it anymore, and the volunteers are not making much headway that I can see. All of the energy now seem to be directed at the compiler sub project within Eclipse (not my opinion, actually that of someone on the jikes development mailing list).

AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

(see you later space cowboy ...)
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: compiling ant to a native binary (From: "Ray O'Leary" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.