8254095: remove jdk.test.lib.Utils::distro() method

Reviewed-by: bchristi
This commit is contained in:
Igor Ignatyev 2020-10-06 22:57:56 +00:00
parent ac772cd916
commit 2a0389a892

View File

@ -853,17 +853,6 @@ public final class Utils {
return ProcessTools.executeCommand(cmds);
}
/*
* Returns the system distro.
*/
public static String distro() {
try {
return uname("-v").asLines().get(0);
} catch (Throwable t) {
throw new RuntimeException("Failed to determine distro.", t);
}
}
/**
* Creates an empty file in "user.dir" if the property set.
* <p>