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
@ -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…
x
Reference in New Issue
Block a user