--- old/test/jdk/java/nio/channels/TestUtil.java 2020-05-20 18:06:27.905521852 -0700 +++ new/test/jdk/java/nio/channels/TestUtil.java 2020-05-20 18:06:27.573515477 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -77,10 +77,6 @@ private static String osName = System.getProperty("os.name"); - static boolean onSolaris() { - return osName.startsWith("SunOS"); - } - static boolean onWindows() { return osName.startsWith("Windows"); }