< prev index next >
src/hotspot/share/classfile/classListParser.cpp
Print this page
*** 32,42 ****
#include "classfile/systemDictionaryShared.hpp"
#include "logging/log.hpp"
#include "logging/logTag.hpp"
#include "memory/metaspaceShared.hpp"
#include "memory/resourceArea.hpp"
- #include "runtime/fieldType.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/javaCalls.hpp"
#include "utilities/defaultStream.hpp"
#include "utilities/hashtable.inline.hpp"
#include "utilities/macros.hpp"
--- 32,41 ----
*** 336,346 ****
}
if (are_interfaces_specified()) {
error("If source location is not specified, interface(s) must not be specified");
}
! bool non_array = !FieldType::is_array(class_name_symbol);
JavaValue result(T_OBJECT);
if (non_array) {
// At this point, we are executing in the context of the boot loader. We
// cannot call Class.forName because that is context dependent and
--- 335,345 ----
}
if (are_interfaces_specified()) {
error("If source location is not specified, interface(s) must not be specified");
}
! bool non_array = !Signature::is_array(class_name_symbol);
JavaValue result(T_OBJECT);
if (non_array) {
// At this point, we are executing in the context of the boot loader. We
// cannot call Class.forName because that is context dependent and
< prev index next >