src/hotspot/share/classfile/classFileParser.cpp
changeset 54847 59ea39bb2809
parent 54595 a61da18408c1
child 55313 f72f801b00bd
child 58678 9cf78a70fa4f
--- a/src/hotspot/share/classfile/classFileParser.cpp	Tue May 14 11:28:44 2019 -0400
+++ b/src/hotspot/share/classfile/classFileParser.cpp	Tue May 14 11:29:18 2019 -0400
@@ -335,8 +335,7 @@
                                      names,
                                      lengths,
                                      indices,
-                                     hashValues,
-                                     CHECK);
+                                     hashValues);
             names_count = 0;
           }
         } else {
@@ -373,8 +372,7 @@
                              names,
                              lengths,
                              indices,
-                             hashValues,
-                             CHECK);
+                             hashValues);
   }
 
   // Copy _current pointer of local copy back to stream.
@@ -823,7 +821,7 @@
         guarantee_property(java_lang_String::is_instance(patch()),
                            "Illegal class patch at %d in class file %s",
                            index, CHECK);
-        Symbol* const name = java_lang_String::as_symbol(patch(), CHECK);
+        Symbol* const name = java_lang_String::as_symbol(patch());
         patch_class(cp, index, NULL, name);
       }
       break;
@@ -5723,7 +5721,7 @@
     // The new class name is created with a refcount of one. When installed into the InstanceKlass,
     // it'll be two and when the ClassFileParser destructor runs, it'll go back to one and get deleted
     // when the class is unloaded.
-    _class_name = SymbolTable::new_symbol(new_anon_name, symbol_len, CHECK);
+    _class_name = SymbolTable::new_symbol(new_anon_name, symbol_len);
   }
 }