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.


Adam Megacz writes:
 > 
 > Andrew Haley <aph@redhat.com> writes:
 > >  > You don't have to.  The application developer will do this.
 > 
 > > I don't believe that's true, and I explained why.  When libgcj uses
 > > reflection as a means of resolving references _internally_,
 > 
 > As I said, Class.forName("foo") will not work unless "foo" is public.
 > If "foo" is public, then the app developer can explicitly reference it.

This leads to a situation where you have no idea if a build has
succeeded or not.  Maybe you only get to find out some class that you
never heard of is missing after the application has been installed and
hits some infrequently used code path.

And yes, I know this isn't what you're interested in.  But it is
important, and it's worth talking about, because it has implications
for the future of gcj.

Maybe can come up with a way to make this stuff more reliable.

Andrew.


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