This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On IRC today, we discussed ways to eliminate the need for merging between GNU Classpath and libgcj. We came up with this potential solution:
In the GCC repository, we'd add a new sub-directory, gcc/libjava/classpath. This directory would contain a recent snapshot of Classpath. How recent is up for debate as I'll explain later.
The gcj-specific parts of libgcj would still reside in gcc/libjava but all the Classpath/libgcj shared code would reside in gcc/libjava/classpath.
We'd add a --with-libgcj option to Classpath's configury that would
allow Classpath to be built as part of libgcj, looking for libgcj-
specific code in "..". Otherwise Classpath CVS would remain the same as
it is now.
- Is the risk of build-breakage increased? For example if a libgcjYes, this would definitely be a concern. Having libgcj developers using a different version of classpath to what is actually checked into CVS would be a very bad idea! If something depends on the newest Classpath HEAD, then that developer would need to check in the latest Classpath along with the other changes. Its inevitable that certain compiler and VM/runtime patches will require simultaneous changes to generic class libraries.
developer makes a libgcj-specific change that depends on Classpath CVS
HEAD, the build will be broken until the next Classpath ->
gcc/libjava/classpath merge.
- How would this affect casual builders of libgcj? It would mean thatSince merges will now be trivial, we could do classpath->libgcj drops weekly or whenever we feel that enough has changed upstream to make it worthwhile. Casual builders of libgcj will use whatever classpath we happen to have in a given tree or release - this is the version will have been tested as part of libgcj, and they're unlikely to care that it may not always be current classpath HEAD.
an extra step would be required to take advantage of Classpath CVS HEAD.
Obviously any action we take on this will have to wait until 4.0 has
branched, but I'd like to see this discussed at FOSDEM. Merging is a
tedious process that takes time away from real development.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |