--- old/test/jdk/sun/nio/ch/SelProvider.java 2020-05-20 18:07:17.646476915 -0700 +++ new/test/jdk/sun/nio/ch/SelProvider.java 2020-05-20 18:07:17.250469311 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -35,9 +35,7 @@ if (expected == null) { String osname = System.getProperty("os.name"); String osver = System.getProperty("os.version"); - if ("SunOS".equals(osname)) { - expected = "sun.nio.ch.DevPollSelectorProvider"; - } else if ("Linux".equals(osname)) { + if ("Linux".equals(osname)) { expected = "sun.nio.ch.EPollSelectorProvider"; } else if (osname.contains("OS X")) { expected = "sun.nio.ch.KQueueSelectorProvider";