From 0633cf935aebf920ed8bc3b942b2a7a229b9f0c3 Mon Sep 17 00:00:00 2001 From: iignatyev Date: Tue, 27 Apr 2021 17:37:03 -0700 Subject: [PATCH 1/2] 8266166 --- .../compiler/linkage/TestLinkageErrorInGenerateOopMap.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java b/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java index 06491eb77292a..d7d1985f470ab 100644 --- a/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java +++ b/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java @@ -26,8 +26,7 @@ * @bug 8190797 * @summary Test OSR compilation with bad operand stack. * @library /test/lib / - * @modules java.base/jdk.internal.misc - * java.management + * @requires vm.flagless * @compile OSRWithBadOperandStack.jasm * @run driver compiler.linkage.TestLinkageErrorInGenerateOopMap */ @@ -50,7 +49,7 @@ public static void main(String args[]) throws Exception { "-XX:CompileCommand=dontinline,compiler/linkage/OSRWithBadOperandStack.m*", "-XX:-CreateCoredumpOnCrash", "-Xmx64m", - "compiler.linkage.TestLinkageErrorInGenerateOopMap", + TestLinkageErrorInGenerateOopMap.class.getName(), "run"); OutputAnalyzer out = new OutputAnalyzer(pb.start()); if (out.getExitValue() != 0) { From 2127f656e67e89534049494fd6bf644d5f6ca46a Mon Sep 17 00:00:00 2001 From: iignatyev Date: Tue, 27 Apr 2021 17:37:11 -0700 Subject: [PATCH 2/2] update copyright --- .../compiler/linkage/TestLinkageErrorInGenerateOopMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java b/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java index d7d1985f470ab..d61fc44dad4e5 100644 --- a/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java +++ b/test/hotspot/jtreg/compiler/linkage/TestLinkageErrorInGenerateOopMap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 2021, 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