hotspot/src/share/vm/services/diagnosticFramework.cpp
changeset 11776 519643dbbefb
parent 11441 a89f443814cd
child 13200 7b506e7b406e
--- a/hotspot/src/share/vm/services/diagnosticFramework.cpp	Tue Feb 14 23:50:12 2012 -0800
+++ b/hotspot/src/share/vm/services/diagnosticFramework.cpp	Wed Feb 15 12:17:30 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -61,7 +61,7 @@
 bool DCmdArgIter::next(TRAPS) {
   if (_len == 0) return false;
   // skipping spaces
-  while (_cursor < _len - 1 && isspace(_buffer[_cursor])) {
+  while (_cursor < _len - 1 && _buffer[_cursor] == _delim) {
     _cursor++;
   }
   // handling end of command line