diff src/share/vm/oops/constantPool.hpp @ 7952:edd76a5856f7

8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to Summary: When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before. Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn@oracle.com
author sspitsyn
date Thu, 24 Jan 2013 22:13:32 -0800
parents 5daaddd917a1
children 0d26ce8e9251
line wrap: on
line diff
--- a/src/share/vm/oops/constantPool.hpp	Wed Jan 23 10:34:29 2013 -0500
+++ b/src/share/vm/oops/constantPool.hpp	Thu Jan 24 22:13:32 2013 -0800
@@ -781,6 +781,7 @@
   }
   static void copy_cp_to_impl(constantPoolHandle from_cp, int start_i, int end_i, constantPoolHandle to_cp, int to_i, TRAPS);
   static void copy_entry_to(constantPoolHandle from_cp, int from_i, constantPoolHandle to_cp, int to_i, TRAPS);
+  static void copy_operands(constantPoolHandle from_cp, constantPoolHandle to_cp, TRAPS);
   int  find_matching_entry(int pattern_i, constantPoolHandle search_cp, TRAPS);
   int  version() const                    { return _saved._version; }
   void set_version(int version)           { _saved._version = version; }