< prev index next >

test/jdk/tools/jlink/plugins/SystemModuleDescriptors/SystemModulesTest.java

Print this page
rev 59383 : [mq]: final

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -77,12 +77,10 @@
         }
 
         switch (OS_NAME) {
             case "Linux":
                 return name.equals("linux");
-            case "SunOS":
-                return name.equals("solaris");
             case "Mac OS X":
                 return name.equals("macos");
             default:
                 // skip validation on unknown platform
                 System.out.println("Skip checking OS name in ModuleTarget: " + name);
< prev index next >