diff -r c7214442139d -r 36096f7271f4 hotspot/src/share/vm/oops/constantPool.hpp --- a/hotspot/src/share/vm/oops/constantPool.hpp Mon May 05 20:17:19 2014 +0200 +++ b/hotspot/src/share/vm/oops/constantPool.hpp Mon May 05 19:53:00 2014 -0400 @@ -823,9 +823,13 @@ static void resolve_string_constants_impl(constantPoolHandle this_cp, TRAPS); static oop resolve_constant_at_impl(constantPoolHandle this_cp, int index, int cache_index, TRAPS); - static void save_and_throw_exception(constantPoolHandle this_cp, int which, int tag_value, TRAPS); static oop resolve_bootstrap_specifier_at_impl(constantPoolHandle this_cp, int index, TRAPS); + // Exception handling + static void throw_resolution_error(constantPoolHandle this_cp, int which, TRAPS); + static Symbol* exception_message(constantPoolHandle this_cp, int which, constantTag tag, oop pending_exception); + static void save_and_throw_exception(constantPoolHandle this_cp, int which, constantTag tag, TRAPS); + public: // Merging ConstantPool* support: bool compare_entry_to(int index1, constantPoolHandle cp2, int index2, TRAPS);