PR libgcj/25265 second part: Throw NoSuchFieldError for missing fields

Andrew Haley aph@redhat.com
Wed Dec 14 19:06:00 GMT 2005


Tom Tromey writes:
 > >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > 
 > Andrew> Mmm, yes.  But I was planning to do this short-cut only in the
 > Andrew> case where we were compiling inner and outer in the same
 > Andrew> compilation unit.
 > 
 > Yeah, that makes sense.  Unfortunately it won't help us in the .db
 > case.

Oh, that's a good point!  I didn't think about that.  It's
theoretically possible to resolve an inner class and its enclosing
class in *different* libraries.  Or to replace the outer class and not
the inner.  Argh.  :-(

Andrew.



More information about the Java-patches mailing list