863 |
863 |
864 static oop resolve_constant_at_impl(const constantPoolHandle& this_cp, int index, int cache_index, TRAPS); |
864 static oop resolve_constant_at_impl(const constantPoolHandle& this_cp, int index, int cache_index, TRAPS); |
865 static oop resolve_bootstrap_specifier_at_impl(const constantPoolHandle& this_cp, int index, TRAPS); |
865 static oop resolve_bootstrap_specifier_at_impl(const constantPoolHandle& this_cp, int index, TRAPS); |
866 |
866 |
867 // Exception handling |
867 // Exception handling |
868 static void throw_resolution_error(const constantPoolHandle& this_cp, int which, TRAPS); |
|
869 static Symbol* exception_message(const constantPoolHandle& this_cp, int which, constantTag tag, oop pending_exception); |
868 static Symbol* exception_message(const constantPoolHandle& this_cp, int which, constantTag tag, oop pending_exception); |
870 static void save_and_throw_exception(const constantPoolHandle& this_cp, int which, constantTag tag, TRAPS); |
869 static void save_and_throw_exception(const constantPoolHandle& this_cp, int which, constantTag tag, TRAPS); |
871 |
870 |
872 public: |
871 public: |
|
872 // Exception handling |
|
873 static void throw_resolution_error(const constantPoolHandle& this_cp, int which, TRAPS); |
|
874 |
873 // Merging ConstantPool* support: |
875 // Merging ConstantPool* support: |
874 bool compare_entry_to(int index1, const constantPoolHandle& cp2, int index2, TRAPS); |
876 bool compare_entry_to(int index1, const constantPoolHandle& cp2, int index2, TRAPS); |
875 void copy_cp_to(int start_i, int end_i, const constantPoolHandle& to_cp, int to_i, TRAPS) { |
877 void copy_cp_to(int start_i, int end_i, const constantPoolHandle& to_cp, int to_i, TRAPS) { |
876 constantPoolHandle h_this(THREAD, this); |
878 constantPoolHandle h_this(THREAD, this); |
877 copy_cp_to_impl(h_this, start_i, end_i, to_cp, to_i, THREAD); |
879 copy_cp_to_impl(h_this, start_i, end_i, to_cp, to_i, THREAD); |