On 12/08/2010 12:09 PM, Pekka Enberg wrote: > On Wed, Dec 8, 2010 at 2:03 PM, Andrew Haley <a...@redhat.com> wrote: >>> No need to live with it, I'll fix it up and resend. >> >> This is truly weird. The gcj patch says: >> >> 2008-05-22 Andrew Haley <a...@redhat.com> >> >> PR libgcj/35020 >> * java/lang/Class.java (getSimpleName): Import from GNU Classpath. >> >> http://gcc.gnu.org/ml/java-patches/2008-q2/msg00016.html >> >> There's a complex thread of replies to that. Still, I'm pretty >> sure the current gcj version is right. > > I didn't check gcj code but lifted the copy from JamVM. The issues is > bit weird for sure as it's been ongoing for ages now: > > http://www.mail-archive.com/classpath-patc...@gnu.org/msg10757.html > > http://draenog.blogspot.com/2009/03/i-read-with-interest-jeroens-recent.html > > In any case, the test case I mentioned passes with OpenJDK and fails > with Classpath CVS unless I apply the patch I sent.
The patch is still OK. :-) Andrew.