On Wed, Dec 8, 2010 at 2:03 PM, Andrew Haley <aph@xxxxxxxxxx> 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 <aph@xxxxxxxxxx>
>
> 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-patches@xxxxxxx/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.
Pekka
[Linux Kernel]
[Linux Cryptography]
[Fedora]
[Fedora Directory]
[Red Hat Development]