< prev index next >

src/hotspot/share/interpreter/linkResolver.cpp

Print this page
rev 59276 : [mq]: v2

@@ -604,11 +604,11 @@
       InstanceKlass* ref_ik = InstanceKlass::cast(ref_klass);
       InstanceKlass* sel_ik = InstanceKlass::cast(sel_klass);
       const char* nest_host_error_1 = ref_ik->nest_host_resolution_error();
       const char* nest_host_error_2 = sel_ik->nest_host_resolution_error();
       if (nest_host_error_1 != NULL || nest_host_error_2 != NULL) {
-        ss.print("(");
+        ss.print(", (");
         if (nest_host_error_1 != NULL) {
           ss.print("%s", nest_host_error_1);
           if (nest_host_error_2 != NULL) {
             ss.print(", %s", nest_host_error_2);
           }

@@ -961,11 +961,11 @@
       InstanceKlass* ref_ik = InstanceKlass::cast(ref_klass);
       InstanceKlass* sel_ik = InstanceKlass::cast(sel_klass);
       const char* nest_host_error_1 = ref_ik->nest_host_resolution_error();
       const char* nest_host_error_2 = sel_ik->nest_host_resolution_error();
       if (nest_host_error_1 != NULL || nest_host_error_2 != NULL) {
-        ss.print("(");
+        ss.print(", (");
         if (nest_host_error_1 != NULL) {
           ss.print("%s", nest_host_error_1);
           if (nest_host_error_2 != NULL) {
             ss.print(", %s", nest_host_error_2);
           }
< prev index next >