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

Andrew Haley aph@redhat.com
Wed Feb 21 12:04:00 GMT 2007


Hanno Meyer-Thurow writes:
 > On Tue, 20 Feb 2007 16:41:12 -0700
 > Tom Tromey <tromey@redhat.com> wrote:
 > 
 > > >>>>> "Hanno" == Hanno Meyer-Thurow <h.mth@web.de> writes:
 > > 
 > > Hanno> java::lang::Class::getDeclaredAnnotations (this=0x2b2a567d9a00, member_type=0, member_index=0, kind_req=3)
 > > 
 > > Could you print the 'name' field of this Class?
 > > Then we'll want to see the source or .class file for this, assuming it
 > > isn't in libgcj...
 > 
 > I have no idea how to get that. Are there any Java debugging
 > docs somewhere? Wrt 'name' I got this, though, quite useless.
 > 
 > (gdb) print name
 > $18 = (_Jv_Utf8Const *) 0x2ab3d1967a00
 > (gdb) print *name
 > $19 = {hash = 31123, length = 16, data = "j"}

p (char*)name->data

 > 
 > 
 > Hanno



More information about the Java mailing list