Mercurial > hg > truffle
diff src/share/vm/services/diagnosticFramework.cpp @ 4932:f1cb6f9cfe21
7145243: Need additional specializations for argument parsing framework
Reviewed-by: acorn, fparain
Contributed-by: nils.loodin@oracle.com
author | fparain |
---|---|
date | Wed, 15 Feb 2012 12:17:30 -0800 |
parents | 4f25538b54c9 |
children | 5a1f452f8f90 |
line wrap: on
line diff
--- a/src/share/vm/services/diagnosticFramework.cpp Tue Feb 14 23:50:12 2012 -0800 +++ b/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