mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 09:04:41 +02:00
8308655: Narrow types of ConstantPool and ConstMethod returns
Reviewed-by: fparain, matsaave
This commit is contained in:
parent
5a0a238f67
commit
2599ada152
31 changed files with 162 additions and 161 deletions
|
@ -1345,8 +1345,7 @@ void ClassLoader::record_result(JavaThread* current, InstanceKlass* ik,
|
|||
const char* const file_name = file_name_for_class_name(class_name,
|
||||
ik->name()->utf8_length());
|
||||
assert(file_name != nullptr, "invariant");
|
||||
|
||||
ClassLoaderExt::record_result(classpath_index, ik, redefined);
|
||||
ClassLoaderExt::record_result(checked_cast<s2>(classpath_index), ik, redefined);
|
||||
}
|
||||
#endif // INCLUDE_CDS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue