< prev index next >

test/jdk/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh

Print this page
rev 59383 : [mq]: final

@@ -1,9 +1,9 @@
 #!/bin/ksh -p
 
 #
-# Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 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.

@@ -57,11 +57,11 @@
 # The beginning of the script proper
 
 # Checking for proper OS
 OS=`uname -s`
 case "$OS" in
-   AIX | CYGWIN* | Darwin | Linux | SunOS )
+   AIX | CYGWIN* | Darwin | Linux )
       FILESEP="/"
       ;;
     
    Windows* )
       FILESEP="\\"

@@ -120,11 +120,11 @@
     if [ ! $status -eq "0" ]; then
       fail "Compilation failed";
     fi
     ;;
 
-  AIX | Linux | SunOS )
+  AIX | Linux )
     ${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} \
                          --add-exports java.desktop/sun.awt=ALL-UNNAMED \
                          --add-exports java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
                          *.java
     status=$?

@@ -170,11 +170,11 @@
     if [ ! $status -eq "0" ]; then
       fail "Test FAILED: toolkit wrapped into HeadlessToolkit is not an instance of sun.awt.windows.WToolkit";
     fi
     ;;
 
-  AIX | Linux | SunOS )
+  AIX | Linux )
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
                          --add-opens java.desktop/sun.awt=ALL-UNNAMED \
                          --add-opens java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
                          -Dawt.toolkit=sun.awt.X11.XToolkit \
                          TestWrapped sun.awt.X11.XToolkit
< prev index next >