Skip to content
Permalink
Browse files
8274888: Dump "-DReproduce=true" to the test VM command line output
Reviewed-by: thartmann, kvn
  • Loading branch information
chhagedorn committed Oct 21, 2021
1 parent d589b66 commit 3b0ce23bcd827d0998fe9b43e5b0220c915dab21
Showing 1 changed file with 2 additions and 0 deletions.
@@ -153,6 +153,8 @@ private void start() {
} catch (Exception e) {
throw new TestFrameworkException("Error while executing Test VM", e);
}

process.command().add(1, "-DReproduce=true"); // Add after "/path/to/bin/java" in order to rerun the test VM directly
commandLine = "Command Line:" + System.lineSeparator() + String.join(" ", process.command())
+ System.lineSeparator();
hotspotPidFileName = String.format("hotspot_pid%d.log", oa.pid());

1 comment on commit 3b0ce23

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 3b0ce23 Oct 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.