--- old/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java 2020-05-20 18:05:38.928581459 -0700 +++ new/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java 2020-05-20 18:05:38.536573932 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 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 @@ -88,9 +88,7 @@ String os = System.getProperty("os.name").toLowerCase(); - if (os.contains("solaris") || os.contains("sunos")) - textKeys[1] = KeyEvent.VK_S; - else if (os.contains("os x")) + if (os.contains("os x")) textKeys[1] = KeyEvent.VK_K; else textKeys[1] = KeyEvent.VK_I;