changeset 2493:2b27ef5c2173

7046096: SEGV IN C2 WITH 6U25 Summary: Missing fail flag set in strings concatenation code. Reviewed-by: never
author kvn
date Fri, 20 May 2011 12:46:20 -0700
parents b79e8b4ecd76
children cfbca4d74a61
files src/share/vm/opto/stringopts.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/stringopts.cpp	Tue May 17 19:15:34 2011 -0700
+++ b/src/share/vm/opto/stringopts.cpp	Fri May 20 12:46:20 2011 -0700
@@ -768,6 +768,7 @@
         tty->cr();
       }
 #endif
+      fail = true;
       break;
     } else if (ptr->is_Proj() && ptr->in(0)->is_Initialize()) {
       ptr = ptr->in(0)->in(0);