From 2a0389a8926b541b3b247a4a18c022ed90cb655b Mon Sep 17 00:00:00 2001 From: Igor Ignatyev Date: Tue, 6 Oct 2020 22:57:56 +0000 Subject: [PATCH] 8254095: remove jdk.test.lib.Utils::distro() method Reviewed-by: bchristi --- test/lib/jdk/test/lib/Utils.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/lib/jdk/test/lib/Utils.java b/test/lib/jdk/test/lib/Utils.java index efc1ed3c213..a77141105be 100644 --- a/test/lib/jdk/test/lib/Utils.java +++ b/test/lib/jdk/test/lib/Utils.java @@ -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. *