diff src/share/vm/opto/stringopts.cpp @ 3396: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 01fd6090fdd8
children df3d4a91f7f6
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);