--- a/src/hotspot/share/runtime/signature.cpp Tue May 14 11:28:44 2019 -0400
+++ b/src/hotspot/share/runtime/signature.cpp Tue May 14 11:29:18 2019 -0400
@@ -336,7 +336,7 @@
return _type == T_ARRAY;
}
-Symbol* SignatureStream::as_symbol(TRAPS) {
+Symbol* SignatureStream::as_symbol() {
// Create a symbol from for string _begin _end
int begin = _begin;
int end = _end;
@@ -368,7 +368,7 @@
// Save names for cleaning up reference count at the end of
// SignatureStream scope.
- name = SymbolTable::new_symbol(symbol_chars, len, CHECK_NULL);
+ name = SymbolTable::new_symbol(symbol_chars, len);
if (!name->is_permanent()) {
if (_names == NULL) {
_names = new GrowableArray<Symbol*>(10);
@@ -380,9 +380,9 @@
}
Klass* SignatureStream::as_klass(Handle class_loader, Handle protection_domain,
- FailureMode failure_mode, TRAPS) {
+ FailureMode failure_mode, TRAPS) {
if (!is_object()) return NULL;
- Symbol* name = as_symbol(CHECK_NULL);
+ Symbol* name = as_symbol();
if (failure_mode == ReturnNull) {
return SystemDictionary::resolve_or_null(name, class_loader, protection_domain, THREAD);
} else {