GCJ

GCJ Home
GCC Home
Status
FAQ
Documentation
Contributing
Done with GCJ

About GCC

Mission Statement
Timeline
Mailing lists
Contributors
Steering Committee

Documentation

Installation
· Platforms
· Testing
Manual
FAQ
Further Readings

Download

Releases
Snapshots
Mirror sites
Binaries

"Live" Sources

CVS read access
Rsync read access
CVSup mirrors
CVS write access

Development

Development Plan
· (tentative timeline)
Contributing
...Why?
Open projects
Front ends
Back ends
Extensions

Bugs

Known bugs
How to report
Bug database
...Management


Get our announcements:

Contributing to the GCJ Project

The main GCC contribute page contains general information; below you will find GCJ-specific details.

Project Ideas

We've started maintaining a list of useful projects.

Coding Standards

We follow the GCC Coding Conventions with some extrapolations concerning Java programming style:

  • Open braces go on a new line (like GNU C style).
  • Two space indent for methods and inner classes
  • if, for, try, and synchronized blocks are indented four spaces (two for the braces, and an additional two for the code).
  • The open brace for a method body is indented only as far as the method header.
Submitting Patches

Send libgcj patches to java-patches@gcc.gnu.org. This list is archived.

Patches to the GCJ front end — the gcc/java directory — should be sent to the gcc-patches list.


Testing

We're accepting test case patches.
  • Put the .java file in libjava/testsuite/libjava.compile (if it is an expected compiler failure or other compile-time test -- run-time tests usually go in libjava.lang)
  • If the file is "foo.java" make a "foo.xfail" file. For an expected failure the only thing in there should be "shouldfail"
  • If the test case matches a Java PR, it is customary to name it after the PR number.
  • Send the patch to java-patches and then commit of you're allowed to.

More detailed documentation on how to run tests is included in the GCC installation notes.


Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.

These pages are maintained by the GCC team.

For questions related to the use of GCC, please consult these web pages and the GCC manuals. If that fails, the gcc-help@gcc.gnu.org mailing list might help.
Please send comments on these web pages and the development of GCC to our developer mailing list at gcc@gnu.org or gcc@gcc.gnu.org. All of our lists have public archives.

Copyright (C) Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Last modified 2004-12-28 Valid XHTML 1.0