/hg/icedtea6: Fix signedness of T_BYTE and T_CHAR results

gbenson at icedtea.classpath.org gbenson at icedtea.classpath.org
Thu May 13 07:53:43 PDT 2010


changeset 58764093660f in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=58764093660f
author: Gary Benson <gbenson at redhat.com>
date: Thu May 13 15:53:35 2010 +0100

	Fix signedness of T_BYTE and T_CHAR results


diffstat:

2 files changed, 10 insertions(+), 2 deletions(-)
ChangeLog                                               |    8 ++++++++
ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp |    4 ++--

diffs (34 lines):

diff -r 0d1df8a64a73 -r 58764093660f ChangeLog
--- a/ChangeLog	Tue May 11 09:26:09 2010 +0100
+++ b/ChangeLog	Thu May 13 15:53:35 2010 +0100
@@ -1,5 +1,13 @@ 2010-05-11  Gary Benson  <gbenson at redhat
+2010-05-13  Gary Benson  <gbenson at 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 at redhat.com>
 
+	PR icedtea/323
 	* patches/icedtea-shark.patch
 	(Deoptimization::create_vframeArray): Remove a now-unnecessary hack.
 
diff -r 0d1df8a64a73 -r 58764093660f ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp
--- a/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp	Tue May 11 09:26:09 2010 +0100
+++ b/ports/hotspot/src/share/vm/shark/sharkNativeWrapper.cpp	Thu May 13 15:53:35 2010 +0100
@@ -327,11 +327,11 @@ void SharkNativeWrapper::initialize(cons
       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;



More information about the distro-pkg-dev mailing list