8325945: Error reporting should limit the number of String characters printed

Reviewed-by: thartmann, stuefe
This commit is contained in:
David Holmes 2024-07-19 06:23:11 +00:00
parent f5871df25c
commit 10fcad70b3
6 changed files with 166 additions and 3 deletions

View file

@ -194,7 +194,7 @@ class java_lang_String : AllStatic {
static inline bool is_instance(oop obj);
// Debugging
static void print(oop java_string, outputStream* st);
static void print(oop java_string, outputStream* st, int max_length = MaxStringPrintSize);
friend class JavaClasses;
friend class StringTable;
};