diff src/os/linux/vm/os_linux.cpp @ 2302:da091bb67459

7022037: Pause when exiting if debugger is attached on windows Reviewed-by: dsamersoff, kamg, hosterda
author sla
date Mon, 28 Feb 2011 14:19:52 +0100
parents 63d374c54045
children 677234770800 139667d9836a
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp	Sat Feb 26 13:33:23 2011 -0500
+++ b/src/os/linux/vm/os_linux.cpp	Mon Feb 28 14:19:52 2011 +0100
@@ -2213,7 +2213,7 @@
   if (rp == NULL)
     return;
 
-  if (strcmp(Arguments::sun_java_launcher(), "gamma") == 0) {
+  if (Arguments::created_by_gamma_launcher()) {
     // Support for the gamma launcher.  Typical value for buf is
     // "<JAVA_HOME>/jre/lib/<arch>/<vmtype>/libjvm.so".  If "/jre/lib/" appears at
     // the right place in the string, then assume we are installed in a JDK and