question about java::lang::String::getChars

Randolph Chung
Mon Oct 20 03:15:00 GMT 2003


While running the libjava testsuite on hppa, I notice that at least two
tests were triggering unaligned accesses. The unaligned access happens
in java::lang::String::getChars in the copy loop. Looks like sPtr is
pointing to an unaligned address (0x50069 in this case). Is that
supposed to happen? If so, should that method use memcpy instead?

One of the test cases that was triggering this was the gcj test of

Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports

More information about the Java mailing list