WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 8f83828a authored by John Zhang's avatar John Zhang
Browse files

putting version info in help text

parent d9a5db45
Pipeline #2049 canceled with stage
......@@ -215,7 +215,7 @@ public class CommandLineArgs {
static void printUsage() {
HelpFormatter formatter = new HelpFormatter();
formatter.printHelp("DaCapo Benchmark suite", visibleOptions);
formatter.printHelp("DaCapo Benchmark suite " + TestHarness.getBuildVersion(), visibleOptions);
......@@ -81,6 +81,7 @@ public class TestHarness {
/* All benchmarks run headless */
System.setProperty("java.awt.headless", "true");
setBuildInfo(); // set BuildVersion and BuildNickName.
try {
commandLineArgs = new CommandLineArgs(args);
......@@ -253,8 +254,7 @@ public class TestHarness {
return null; // not reached
private static void setBuildInfo() {
try {
String url = TestHarness.class.getProtectionDomain().getCodeSource().getLocation().getFile();
JarFile jarFile = new JarFile(url.replace("!/harness", "").replace("file:", ""));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment