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: gcj trunk - getAnnotations NullPointerException / segmentation fault


Hanno Meyer-Thurow writes:
 > On Mon, 5 Mar 2007 15:48:40 +0000
 > Andrew Haley <aph@redhat.com> wrote:
 > 
 > > Agh.  This is my bug in Proxy, where I cache a Method in a reflection
 > > structure that is not scanned by the GC, so the Method is reclaimed.
 > > Then I try to use it.  :-(
 > > 
 > > OK, so I need to create the Method at the time the Proxy is invoked,
 > > not cache it.  This turns out to be unexpectedly hard: creating
 > > instances of Method() is difficult.
 > 
 > Thanks for the patch. Now JUnit-4.2 tests pass.

OK, thanks a lot for all your hard work on this!

Andrew.


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