Skip to content

Commit cf4739a

Browse files
committed
async-profiler#1653: Disable currentTimeMillis test on JDK 11
1 parent 757bf8e commit cf4739a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test/recovery/RecoveryTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ public void intrinsics(TestProcess p) throws Exception {
7575
}
7676

7777
// Verify that System.currentTimeMillis() intrinsic is unwound correctly
78-
@Test(mainClass = TimeLoop.class, jvm = Jvm.HOTSPOT, jvmVer = {11, Integer.MAX_VALUE}, debugNonSafepoints = true)
78+
// TODO: Enable test on JDK 11 after fixing #1653
79+
@Test(mainClass = TimeLoop.class, jvm = Jvm.HOTSPOT, jvmVer = {17, Integer.MAX_VALUE}, debugNonSafepoints = true)
7980
public void currentTimeMillis(TestProcess p) throws Exception {
8081
Output out = p.profile("-d 3 -e cpu -o collapsed");
8182
Assert.isLess(out.ratio("^\\[unknown"), 0.01, "No more than 1% of unknown frames");

0 commit comments

Comments
 (0)