Shark fix
Gary Benson
gbenson at redhat.com
Thu May 13 07:57:54 PDT 2010
Hi all,
This commit fixes Shark's compilation of native methods that return
byte or char results. PR icedtea/483.
Cheers,
Gary
--
http://gbenson.net/
-------------- next part --------------
diff -r 0d1df8a64a73 ChangeLog
--- a/ChangeLog Tue May 11 09:26:09 2010 +0100
+++ b/ChangeLog Thu May 13 15:55:14 2010 +0100
@@ -1,5 +1,13 @@
+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 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:55:14 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;
More information about the distro-pkg-dev
mailing list