--- a/src/hotspot/share/ci/ciStreams.cpp Wed Jan 31 10:55:49 2018 -0800
+++ b/src/hotspot/share/ci/ciStreams.cpp Fri Sep 08 10:46:46 2017 -0700
@@ -254,7 +254,8 @@
// constant.
constantTag ciBytecodeStream::get_constant_pool_tag(int index) const {
VM_ENTRY_MARK;
- return _method->get_Method()->constants()->tag_at(index);
+ BasicType bt = _method->get_Method()->constants()->basic_type_for_constant_at(index);
+ return constantTag::ofBasicType(bt);
}
// ------------------------------------------------------------------