changeset 59028:4c7f757f2319 lworld

[lworld] Fixed SigEntry::create_symbol because SignatureStream does not handle signature without return type anymore
author thartmann
date Thu, 20 Feb 2020 17:58:21 +0100
parents 7ecc1d4a0670
children bea2afe5d794
files src/hotspot/share/runtime/signature.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/signature.cpp	Wed Feb 19 16:57:22 2020 +0100
+++ b/src/hotspot/share/runtime/signature.cpp	Thu Feb 20 17:58:21 2020 +0100
@@ -608,6 +608,8 @@
     }
   }
   sig_str[idx++] = ')';
+  // Add a dummy return type. It won't be used but SignatureStream needs it.
+  sig_str[idx++] = 'V';
   sig_str[idx++] = '\0';
   return SymbolTable::new_symbol(sig_str);
 }