8254095: remove jdk.test.lib.Utils::distro() method
Reviewed-by: bchristi
This commit is contained in:
parent
ac772cd916
commit
2a0389a892
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user