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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]