Bug 24832 - Modularization of Java libraries
Summary: Modularization of Java libraries
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: 4.0.2
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 10:54 UTC by Nils Hammar
Modified: 2016-09-30 22:50 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-02-13 04:06:19


Attachments
Proposal for the initial split. (28.22 KB, application/zip)
2005-11-14 19:18 UTC, Nils Hammar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Hammar 2005-11-13 10:54:08 UTC
I would like to see a modularization of the Java libraries.
This will allow for use of Java/gcj in an embedded or semi-embedded environment with the benefits of a "full" java.

However - it shall still be possible to build a single module too for those environments that doesn't need modularization.

I understand that this is no easy task due to cross-depenencies.
Comment 1 Andrew Pinski 2005-11-14 13:17:08 UTC
Confirmed, I thought I saw this somewhere else.
Comment 2 Nils Hammar 2005-11-14 19:18:34 UTC
Created attachment 10237 [details]
Proposal for the initial split.

This is the initial split I did, and I must admit that it isn't thoroughly tested.
There are one text file for each module I created. The text file contains an initial dependency description and a list of files incorporated in that module.

In addition to this there is one Java-file with code modified to dynamically load the DefaultContentHandlerFactory that now resides in the AWT package from the URLConnection class. This wasn't necessary earlier. Beware that this is completely untested and I see it as a proposed modification.

I REALLY wanted to break out the security classes too, since they have a significant size and aren't really needed on an embedded system. This is my minimal effort breakup - it could have been even better.
Comment 3 Andrew Pinski 2016-09-30 22:50:34 UTC
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.