diff -r 4242e35767b5 -r 1f7f707c1aa9 src/hotspot/share/classfile/classListParser.cpp --- a/src/hotspot/share/classfile/classListParser.cpp Wed Oct 23 17:35:32 2019 +0200 +++ b/src/hotspot/share/classfile/classListParser.cpp Wed Oct 23 18:34:25 2019 +0200 @@ -229,17 +229,17 @@ jio_fprintf(defaultStream::error_stream(), "}\n"); } -void ClassListParser::print_actual_interfaces(InstanceKlass *ik) { +void ClassListParser::print_actual_interfaces(InstanceKlass* ik) { int n = ik->local_interfaces()->length(); jio_fprintf(defaultStream::error_stream(), "Actual interfaces[%d] = {\n", n); for (int i = 0; i < n; i++) { - InstanceKlass* e = InstanceKlass::cast(ik->local_interfaces()->at(i)); + InstanceKlass* e = ik->local_interfaces()->at(i); jio_fprintf(defaultStream::error_stream(), " %s\n", e->name()->as_klass_external_name()); } jio_fprintf(defaultStream::error_stream(), "}\n"); } -void ClassListParser::error(const char *msg, ...) { +void ClassListParser::error(const char* msg, ...) { va_list ap; va_start(ap, msg); int error_index = _token - _line; @@ -328,7 +328,7 @@ Klass* ClassListParser::load_current_class(TRAPS) { TempNewSymbol class_name_symbol = SymbolTable::new_symbol(_class_name); - Klass *klass = NULL; + Klass* klass = NULL; if (!is_loading_from_source()) { // Load classes for the boot/platform/app loaders only. if (is_super_specified()) {