8154976: UseSharedSpaces error message is incomplete
Reviewed-by: cjplummer, jiangli, mseledtsov
This commit is contained in:
parent
97a96449f9
commit
023aa74fc2
@ -99,7 +99,8 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
|
||||
fail(msg, ap);
|
||||
} else {
|
||||
if (PrintSharedSpaces) {
|
||||
tty->print_cr("UseSharedSpaces: %s", msg);
|
||||
tty->print("UseSharedSpaces: ");
|
||||
tty->vprint_cr(msg, ap);
|
||||
}
|
||||
}
|
||||
UseSharedSpaces = false;
|
||||
|
@ -67,6 +67,7 @@ public class XShareAuto {
|
||||
// if sharing failed due to ASLR or similar reasons,
|
||||
// check whether sharing was attempted at all (UseSharedSpaces)
|
||||
output.shouldContain("UseSharedSpaces:");
|
||||
output.shouldNotContain("Unable to map %s");
|
||||
}
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user