< prev index next >
src/share/vm/oops/constantPool.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 348,358 ****
// Fetching constants
Klass* klass_at(int which, TRAPS) {
constantPoolHandle h_this(THREAD, this);
! return klass_at_impl(h_this, which, CHECK_NULL);
}
Symbol* klass_name_at(int which); // Returns the name, w/o resolving.
Klass* resolved_klass_at(int which) const { // Used by Compiler
--- 348,358 ----
// Fetching constants
Klass* klass_at(int which, TRAPS) {
constantPoolHandle h_this(THREAD, this);
! return klass_at_impl(h_this, which, THREAD);
}
Symbol* klass_name_at(int which); // Returns the name, w/o resolving.
Klass* resolved_klass_at(int which) const { // Used by Compiler
< prev index next >