< prev index next >

test/jdk/tools/launcher/SourceMode.java

Print this page
rev 59105 : imported patch corelibs

@@ -321,11 +321,11 @@
 
     // #!.../java --source N -version
     @Test
     void testTerminalOptionInShebang() throws IOException {
         starting("testTerminalOptionInShebang");
-        if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
+        if (skipShebangTest || isAIX || isMacOSX) {
             // On MacOSX, we cannot distinguish between terminal options on the
             // shebang line and those on the command line.
             // On Solaris, all options after the first on the shebang line are
             // ignored. Similar on AIX.
             log.println("SKIPPED");

@@ -345,11 +345,11 @@
 
     // #!.../java --source N @bad.at  (contains -version)
     @Test
     void testTerminalOptionInShebangAtFile() throws IOException {
         starting("testTerminalOptionInShebangAtFile");
-        if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
+        if (skipShebangTest || isAIX || isMacOSX) {
             // On MacOSX, we cannot distinguish between terminal options in a
             // shebang @-file and those on the command line.
             // On Solaris, all options after the first on the shebang line are
             // ignored. Similar on AIX.
             log.println("SKIPPED");

@@ -372,11 +372,11 @@
 
     // #!.../java --source N HelloWorld
     @Test
     void testMainClassInShebang() throws IOException {
         starting("testMainClassInShebang");
-        if (skipShebangTest || isAIX || isMacOSX || isSolaris) {
+        if (skipShebangTest || isAIX || isMacOSX) {
             // On MacOSX, we cannot distinguish between a main class on the
             // shebang line and one on the command line.
             // On Solaris, all options after the first on the shebang line are
             // ignored. Similar on AIX.
             log.println("SKIPPED");
< prev index next >