test/hotspot/jtreg/compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java
changeset 54669 ad45b3802d4e
parent 50793 ca4eea543d23
--- a/test/hotspot/jtreg/compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java	Wed May 01 12:41:26 2019 -0400
+++ b/test/hotspot/jtreg/compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java	Wed May 01 12:31:29 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, 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
@@ -69,7 +69,7 @@
 
     private void checkNull() {
         Utils.runAndCheckException(
-                () -> CompilerToVMHelper.disassembleCodeBlob(null),
+                () -> { CompilerToVMHelper.disassembleCodeBlob(null); },
                 NullPointerException.class);
     }