[gcj trunk / gnu-classpath] String.format(...) undefined

Hanno Meyer-Thurow h.mth@web.de
Sat Mar 3 16:26:00 GMT 2007


On Sat, 3 Mar 2007 14:12:26 +0000
Andrew Haley <aph@redhat.com> wrote:

> I checked in a patch for this yestderday.  Let me know if it works for
> you.

Thank you! It fixed most types but long[] at runtime:

	$ /usr/lib/gcj/bin/gij Test
	Exception in thread "main" java.lang.InternalError: expected pool constant 6 but got 5
	   at java.lang.Class.getDeclaredAnnotations(libgcj.so.9)
	   at java.lang.Class.getAnnotations(libgcj.so.9)
	   at java.lang.Class.getAnnotation(libgcj.so.9)
	   at Test.main(Test.java:69)

I see another issue with float variables.
I'll open another thread for that.


Hanno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.java
Type: text/x-java
Size: 729 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20070303/f2cd4908/attachment.bin>


More information about the Java mailing list