Mercurial > hg > release > icedtea7-2.2
changeset 2250:1852744c5c16
PR icedtea/483: Fix signedness of T_BYTE and T_CHAR results
2010-05-13 Gary Benson <gbenson@redhat.com>
PR icedtea/483
* ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp
(SharkNativeWrapper::initialize): Fix signedness of T_BYTE
and T_CHAR results.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Wed, 09 Jun 2010 17:44:09 +0100 |
parents | 1de4376d0732 |
children | 86213d4d475a |
files | ChangeLog ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jun 09 17:42:58 2010 +0100 +++ b/ChangeLog Wed Jun 09 17:44:09 2010 +0100 @@ -1,5 +1,13 @@ +2010-05-13 Gary Benson <gbenson@redhat.com> + + PR icedtea/483 + * ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp + (SharkNativeWrapper::initialize): Fix signedness of T_BYTE + and T_CHAR results. + 2010-05-11 Gary Benson <gbenson@redhat.com> + PR icedtea/323 * patches/hotspot/default/icedtea-shark.patch (Deoptimization::create_vframeArray): Remove a now-unnecessary hack.
--- a/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Wed Jun 09 17:42:58 2010 +0100 +++ b/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp Wed Jun 09 17:44:09 2010 +0100 @@ -327,11 +327,11 @@ needs_cast = true; break; - case T_BYTE: + case T_CHAR: needs_cast = true; break; - case T_CHAR: + case T_BYTE: case T_SHORT: needs_cast = true; is_signed = true;