Skip to content

Commit 2a0389a

Browse files
committedOct 6, 2020
8254095: remove jdk.test.lib.Utils::distro() method
Reviewed-by: bchristi
1 parent ac772cd commit 2a0389a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎test/lib/jdk/test/lib/Utils.java

-11
Original file line numberDiff line numberDiff line change
@@ -853,17 +853,6 @@ public static OutputAnalyzer uname(String... args) throws Throwable {
853853
return ProcessTools.executeCommand(cmds);
854854
}
855855

856-
/*
857-
* Returns the system distro.
858-
*/
859-
public static String distro() {
860-
try {
861-
return uname("-v").asLines().get(0);
862-
} catch (Throwable t) {
863-
throw new RuntimeException("Failed to determine distro.", t);
864-
}
865-
}
866-
867856
/**
868857
* Creates an empty file in "user.dir" if the property set.
869858
* <p>

0 commit comments

Comments
 (0)
Please sign in to comment.