Skip to content

Commit

Permalink
8297141: Fix hotspot/test/runtime/SharedArchiveFile/DefaultUseWithCli…
Browse files Browse the repository at this point in the history
…ent.java for 8u

Reviewed-by: sgehwolf
  • Loading branch information
zzambers authored and jerboaa committed Nov 22, 2022
1 parent da0c382 commit 5a32484
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -25,7 +25,7 @@
* @test DefaultUseWithClient
* @summary Test default behavior of sharing with -client
* @library /testlibrary
* @run main DefaultUseWithClient
* @run main/othervm -client DefaultUseWithClient
* @bug 8032224
*/

Expand All @@ -38,9 +38,9 @@ public static void main(String[] args) throws Exception {

// On 32-bit windows CDS should be on by default in "-client" config
// Skip this test on any other platform
boolean is32BitWindows = (Platform.isWindows() && Platform.is32bit());
if (!is32BitWindows) {
System.out.println("Test only applicable on 32-bit Windows. Skipping");
boolean is32BitWindowsClient = (Platform.isWindows() && Platform.is32bit() && Platform.isClient());
if (!is32BitWindowsClient) {
System.out.println("Test only applicable on 32-bit Windows Client VM. Skipping");
return;
}

Expand Down

1 comment on commit 5a32484

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.