gcj using eclipse compiler
- This project replaces the .java front end of gcj with a separate compilation step invoking a slightly modified version of the eclipse java-to-class compiler. This fixes a number of bugs, grows the developer base, and also enables all new 1.5 language features.
Personnel
- Tom Tromey
- Andrew Haley
Delivery Date
- Oct 1 2006. Still must update build instructions to account for changes.
Benefits
Fixes more than 100 PRs. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28067 This includes all known parsing and semantic analysis bugs.
- Enables all 1.5 language features: generics, static import, foreach, enums, varargs
- Fully genericized class library
- Basis for finishing other 1.5 runtime features (e.g., annotation reflection)
Dependencies
- No dependencies on other 4.3 projects
Modifications required
- Various changes to gcj: changed specs, disabled parser. (Old parser not yet removed due to the way the code is tangled together; we can comfortably do this post-merge.)
- Modified eclipse compiler. We'll be submitted our changes to eclipse.org soon.
- New gcjh written in java; available in GNU Classpath.
- Bootstrap JVM now required in order to run new compiler and gcjh. Note that any JVM will do, and even with a pure interpreter the build is not uncomfortably slow.