RFR [8014792] Need a test to check if path to java debugger has spaces
Ivan Gerasimov
ivan.gerasimov at oracle.com
Tue Sep 24 08:12:44 PDT 2013
Hello all!
Would you please help review a new regression test?
This is related to the fix for 8014676 (jdb could not run under Windows,
if its path contained a space).
The test simply checks, if the path to the tested jdk contains a space
and exits, if it does not.
Otherwise it tries to run the debugger. With the bug 8014676, the
debugger will report IOExeption thrown.
The complicated part is that with the presence of no error, the debugger
will not exit, but wait for the user command instead.
To prevent it, I pass a nonexistent option to the debuger. Thus it must
fail with an error message.
Here's the webrev: http://cr.openjdk.java.net/~igerasim/8014792/0/webrev/
Here's the bug: http://bugs.sun.com/view_bug.do?bug_id=8014792
Here's the fix for 8014676:
http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/81c449fd18fe
Sincerely yours,
Ivan Gerasimov
More information about the serviceability-dev
mailing list