diff options
Diffstat (limited to 'src/share/vm/oops/constantPool.hpp')
-rw-r--r-- | src/share/vm/oops/constantPool.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/oops/constantPool.hpp b/src/share/vm/oops/constantPool.hpp index 58cad7a67..eca2dcd9c 100644 --- a/src/share/vm/oops/constantPool.hpp +++ b/src/share/vm/oops/constantPool.hpp @@ -354,7 +354,7 @@ class ConstantPool : public Metadata { Symbol* klass_name_at(int which); // Returns the name, w/o resolving. - Klass* resolved_klass_at(int which) { // Used by Compiler + Klass* resolved_klass_at(int which) const { // Used by Compiler guarantee(tag_at(which).is_klass(), "Corrupted constant pool"); // Must do an acquire here in case another thread resolved the klass // behind our back, lest we later load stale values thru the oop. |