This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
question about java::lang::String::getChars
- From: Randolph Chung <randolph at tausq dot org>
- To: java at gcc dot gnu dot org
- Date: Sun, 19 Oct 2003 20:18:29 -0700
- Subject: question about java::lang::String::getChars
- Reply-to: Randolph Chung <randolph at tausq dot org>
Hi,
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
nested_with_ctor.
thanks
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/