Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
/ jdk18 Public archive

Commit f48a3e8

Browse files
committed
8278758: runtime/BootstrapMethod/BSMCalledTwice.java fails with release VMs after JDK-8262134
Reviewed-by: dcubed
1 parent 0cc989b commit f48a3e8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

test/hotspot/jtreg/runtime/BootstrapMethod/BSMCalledTwice.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,11 +24,19 @@
2424
/*
2525
* @test
2626
* @bug 8174954
27-
* @bug 8262134
2827
* @library /test/lib
2928
* @modules java.base/jdk.internal.org.objectweb.asm
3029
* @compile -XDignore.symbol.file BSMCalledTwice.java
3130
* @run main BSMCalledTwice
31+
*/
32+
33+
/*
34+
* @test
35+
* @bug 8262134
36+
* @library /test/lib
37+
* @requires vm.debug
38+
* @modules java.base/jdk.internal.org.objectweb.asm
39+
* @compile -XDignore.symbol.file BSMCalledTwice.java
3240
* @run main/othervm -Xcomp -XX:CompileCommand=compileonly,TestC::* -XX:+DeoptimizeALot -XX:+VerifyStack BSMCalledTwice
3341
*/
3442

0 commit comments

Comments
 (0)