/hg/icedtea6: 2009-11-11 Gary Benson <gbenson@redhat.com>

View: New views
1 Messages — Rating Filter:   Alert me  

/hg/icedtea6: 2009-11-11 Gary Benson <gbenson@redhat.com>

by gbenson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

changeset b3d03017bdef in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=b3d03017bdef
author: Gary Benson <gbenson@...>
date: Wed Nov 11 10:50:38 2009 -0500

        2009-11-11 Gary Benson <gbenson@...>

         PR icedtea/324:
                * ports/hotspot/src/share/vm/shark/sharkValue.cpp
        (SharkNormalValue::jarray_value): Work around the above.


diffstat:

2 files changed, 9 insertions(+), 1 deletion(-)
ChangeLog                                       |    6 ++++++
ports/hotspot/src/share/vm/shark/sharkValue.cpp |    4 +++-

diffs (27 lines):

diff -r 79079fb4d3b4 -r b3d03017bdef ChangeLog
--- a/ChangeLog Wed Nov 11 13:52:48 2009 +0000
+++ b/ChangeLog Wed Nov 11 10:50:38 2009 -0500
@@ -1,3 +1,9 @@ 2009-11-11  Gary Benson  <gbenson@redhat
+2009-11-11  Gary Benson  <gbenson@...>
+
+ PR icedtea/324:
+ * ports/hotspot/src/share/vm/shark/sharkValue.cpp
+ (SharkNormalValue::jarray_value): Work around the above.
+
 2009-11-11  Gary Benson  <gbenson@...>
 
  * ports/hotspot/src/share/vm/shark/sharkType.hpp
diff -r 79079fb4d3b4 -r b3d03017bdef ports/hotspot/src/share/vm/shark/sharkValue.cpp
--- a/ports/hotspot/src/share/vm/shark/sharkValue.cpp Wed Nov 11 13:52:48 2009 +0000
+++ b/ports/hotspot/src/share/vm/shark/sharkValue.cpp Wed Nov 11 10:50:38 2009 -0500
@@ -220,7 +220,9 @@ Value* SharkNormalValue::jobject_value()
 }
 Value* SharkNormalValue::jarray_value() const
 {
-  assert(is_jarray(), "should be");
+  // XXX assert(is_jarray(), "should be");
+  // XXX http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=324
+  assert(is_jobject(), "should be");
   return llvm_value();
 }
 int SharkAddressValue::address_value() const