--- a/src/hotspot/share/classfile/javaClasses.cpp Sun Jan 28 19:49:06 2018 -0500
+++ b/src/hotspot/share/classfile/javaClasses.cpp Mon Jan 29 11:55:40 2018 -0500
@@ -1702,7 +1702,7 @@
method = mhandle();
}
- _methods->short_at_put(_index, method->orig_method_idnum());
+ _methods->ushort_at_put(_index, method->orig_method_idnum());
_bcis->int_at_put(_index, Backtrace::merge_bci_and_version(bci, method->constants()->version()));
// Note:this doesn't leak symbols because the mirror in the backtrace keeps the
@@ -1756,7 +1756,7 @@
BacktraceElement next(Thread* thread) {
BacktraceElement e (Handle(thread, _mirrors->obj_at(_index)),
- _methods->short_at(_index),
+ _methods->ushort_at(_index),
Backtrace::version_at(_bcis->int_at(_index)),
Backtrace::bci_at(_bcis->int_at(_index)),
_names->symbol_at(_index));