This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: I can make your gcj-compiled binaries much smaller.
Mark Wielaard <mark@klomp.org> writes:
> Actually this does always work even if the Class is private or package
> local. And if you have enough Security Permissions (or there is no
> SecurityManager at all) you can even set the Constructor of such a class
> to accessible and you will be able to create an actual object.
Fair enough; we can just do what Jet does and allow the user to dump a
list of loaded classes and then use that to generate a .o which
contains relocations for all the required classes.
It's not pretty, but it will certainly work.
- a