mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8235225: Replace CHECK_0 with CHECK_NULL for non-integer returning methods
Change CHECK_0 to CHECK_NULL and CHECK_false where appropriate Reviewed-by: mikael, dholmes, coleenp
This commit is contained in:
parent
2ba0575cea
commit
a1e9328367
13 changed files with 57 additions and 57 deletions
|
@ -349,9 +349,9 @@ Klass* ClassListParser::load_current_class(TRAPS) {
|
|||
// delegate to the correct loader (boot, platform or app) depending on
|
||||
// the class name.
|
||||
|
||||
Handle s = java_lang_String::create_from_symbol(class_name_symbol, CHECK_0);
|
||||
Handle s = java_lang_String::create_from_symbol(class_name_symbol, CHECK_NULL);
|
||||
// ClassLoader.loadClass() wants external class name format, i.e., convert '/' chars to '.'
|
||||
Handle ext_class_name = java_lang_String::externalize_classname(s, CHECK_0);
|
||||
Handle ext_class_name = java_lang_String::externalize_classname(s, CHECK_NULL);
|
||||
Handle loader = Handle(THREAD, SystemDictionary::java_system_loader());
|
||||
|
||||
JavaCalls::call_virtual(&result,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue