mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8182089: build error in hotspot/src/share/vm/runtime/reflection.cpp
Add const to argument in reflection.cpp so method signature matches the one in reflection.hpp Reviewed-by: zgu, coleenp, rprotacio
This commit is contained in:
parent
0d3624a309
commit
42c183edfc
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ Reflection::VerifyClassAccessResults Reflection::verify_class_access(
|
|||
// This function must be called from within a block containing a ResourceMark.
|
||||
char* Reflection::verify_class_access_msg(const Klass* current_class,
|
||||
const InstanceKlass* new_class,
|
||||
VerifyClassAccessResults result) {
|
||||
const VerifyClassAccessResults result) {
|
||||
assert(result != ACCESS_OK, "must be failure result");
|
||||
char * msg = NULL;
|
||||
if (result != OTHER_PROBLEM && new_class != NULL && current_class != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue