Skip to content
Browse files
8258696: Temporarily revert use of pattern match instanceof until doc…
…s-reference is fixed

Reviewed-by: rriggs, dcubed, bpb, jjg, dfuchs, aefimov
  • Loading branch information
ChrisHegarty committed Dec 18, 2020
1 parent a4f393c commit be41468c838666ded51437226e3668bb45043205
Showing 1 changed file with 2 additions and 1 deletion.
@@ -158,7 +158,8 @@ public void execute(Runnable command) {

private void shutdown() {
if (delegate instanceof ExecutorService service) {
if (delegate instanceof ExecutorService) {
ExecutorService service = (ExecutorService)delegate;
PrivilegedAction<?> action = () -> {
return null;

1 comment on commit be41468

Copy link

@openjdk-notifier openjdk-notifier bot commented on be41468 Dec 18, 2020

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.