gcj: always emit static array data

Andrew Haley aph@pasanda.cygnus.co.uk
Tue Aug 31 22:41:00 GMT 1999


> Date: Mon, 16 Aug 1999 07:38:28 -0700
> From: Anthony Green <green@cygnus.com>
> 
> Andrew wrote:
> > So we should stop the compiler from referring to the array in the
> > class initialization routine, n'est ce pas?  We are initializing an
> > unreachable array...
> 
> Well, you can still access it via java.lang.reflect.

Aha!  Yes, of course.  So it is correct to mark the array as reachable
because reflection can reach it.

Andrew.



More information about the Gcc-patches mailing list