Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b82
-
Verified
Description
Some of us run the jdk tests concurrency in a pool of VMs to get fast test runs ("jtreg -agentvm -concurrency:auto" for example).
This test doesn't like this mode, seems that it depends on LUtils that is defined in LambdaAccessControlDoPrivilegedTest.java unbeknownst to the compiler. I assume it works without concurrency because LambdaAccessControlDoPrivilegedTest.java runs before LambdaAccessControlTest normally.
Here's an example fragment from the .jtr file.
section:compile
----------messages:(3/247)----------
command: compile -XDignore.symbol.file /u/alanb/ws/profiles/jdk/test/java/lang/invoke/lambda/LambdaAccessControlTest.java
reason: User specified action: run compile -XDignore.symbol.file LambdaAccessControlTest.java
elapsed time (seconds): 0.028
----------direct:(5/245)----------
/u/alanb/ws/profiles/jdk/test/java/lang/invoke/lambda/LambdaAccessControlTest.java:33: error: cannot find symbol
public class LambdaAccessControlTest extends LUtils {
^
symbol: class LUtils
1 error
result: Failed. Compilation failed: Compilation failed
test result: Failed. Compilation failed: Compilation failed