Skip to content

Commit 04b146a

Browse files
SendaoYanVicente Romero
authored andcommitted
8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary
Reviewed-by: vromero
1 parent a36fb36 commit 04b146a

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

test/langtools/TEST.ROOT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ requires.extraPropDefns.vmOpts = \
4242
-XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI \
4343
--add-exports java.base/jdk.internal.foreign=ALL-UNNAMED
4444
requires.properties= \
45-
vm.continuations
45+
vm.continuations \
46+
vm.debug

test/langtools/tools/javac/7142086/T7142086.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2012, 2024, 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
@@ -23,12 +23,20 @@
2323

2424
/*
2525
* @test
26-
* @bug 7142086
26+
* @bug 7142086 8337334
27+
* @requires vm.debug == false
2728
* @summary performance problem in Check.checkOverrideClashes(...)
2829
* @modules jdk.compiler
2930
* @run main/timeout=10 T7142086
3031
*/
3132

33+
/*
34+
* @test
35+
* @requires vm.debug == true
36+
* @modules jdk.compiler
37+
* @run main/timeout=20 T7142086
38+
*/
39+
3240
import com.sun.source.util.JavacTask;
3341
import java.net.URI;
3442
import java.util.List;

0 commit comments

Comments
 (0)