Skip to content
Permalink
Browse files
8273804: Platform.isTieredSupported should handle the no-compiler case
Reviewed-by: dholmes
  • Loading branch information
shipilev committed Sep 16, 2021
1 parent 2d13fb2 commit 46af82e5b0d176e340f46125f8a3bb17e56bd7b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/lib/jdk/test/lib/Platform.java
@@ -79,7 +79,7 @@ public static boolean isEmulatedClient() {
}

public static boolean isTieredSupported() {
return compiler.contains("Tiered Compilers");
return (compiler != null) && compiler.contains("Tiered Compilers");
}

public static boolean isInt() {

1 comment on commit 46af82e

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 46af82e Sep 16, 2021

Please sign in to comment.