-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 24, 25
-
+ uname -a
Linux iZbp1djb5f399qnn03221lZ 5.10.134-18.al8.x86_64 #1 SMP Fri Dec 13 16:56:53 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
+ cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (OpenAnolis Edition)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
VARIANT="OpenAnolis Edition"
VARIANT_ID="openanolis"
ALINUX_MINOR_ID="2104"
ALINUX_UPDATE_ID="11"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3.2104 U11 (OpenAnolis Edition)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
+ free -h
total used free shared buff/cache available
Mem: 247Gi 3.2Gi 216Gi 2.0Mi 30Gi 244Gi
Swap: 0B 0B 0B
+ lscpu
+ head -n 25
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
BIOS Vendor ID: Alibaba Cloud
CPU family: 6
Model: 106
Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name: pc-i440fx-2.1
Stepping: 6
CPU MHz: 3498.310
BogoMIPS: 5399.99
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 48K
L1i cache: 32K
L2 cache: 1280K
L3 cache: 49152K
NUMA node0 CPU(s): 0-63
+ java -version
openjdk version "25-internal" 2025-09-16
OpenJDK Runtime Environment (build 25-internal-450636ae)
OpenJDK 64-Bit Server VM (build 25-internal-450636ae, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (25-internal-450636ae) for linux-amd64 JRE (25-internal-450636ae), built on 2025-01-13T12:09:33Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ jtreg -version
jtreg 7.4-dev+0
Installed in /tmp/tone/run/jtreg/jtreg/lib/jtreg.jar
Running on platform version 25-internal from /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk.
Built with Java(TM) 2 SDK, Version 11.0.21+9-LTS on June 14, 2024.
Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
Use is subject to license terms.
JT Harness, version 6.0 ea b24 (June 14, 2024)
Java Assembler Tools, version 7.0 ea b09 (June 14, 2024)
TestNG: testng-7.3.0.jar, guice-5.1.0.jar, jcommander-1.82.jar
JUnit: junit-platform-console-standalone-1.10.2.jar
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git branch- master
+ git log -n 1
+ head -n 1
commit 450636ae28b84ded083b6861c6cba85fbf87e16e
+ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
+ git diff+ uname -a Linux iZbp1djb5f399qnn03221lZ 5.10.134-18.al8.x86_64 #1 SMP Fri Dec 13 16:56:53 CST 2024 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/os-release NAME="Alibaba Cloud Linux" VERSION="3 (OpenAnolis Edition)" ID="alinux" ID_LIKE="rhel fedora centos anolis" VERSION_ID="3" VARIANT="OpenAnolis Edition" VARIANT_ID="openanolis" ALINUX_MINOR_ID="2104" ALINUX_UPDATE_ID="11" PLATFORM_ID="platform:al8" PRETTY_NAME="Alibaba Cloud Linux 3.2104 U11 (OpenAnolis Edition)" ANSI_COLOR="0;31" HOME_URL="https://www.aliyun.com/" + free -h total used free shared buff/cache available Mem: 247Gi 3.2Gi 216Gi 2.0Mi 30Gi 244Gi Swap: 0B 0B 0B + lscpu + head -n 25 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 32 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel BIOS Vendor ID: Alibaba Cloud CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz BIOS Model name: pc-i440fx-2.1 Stepping: 6 CPU MHz: 3498.310 BogoMIPS: 5399.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 48K L1i cache: 32K L2 cache: 1280K L3 cache: 49152K NUMA node0 CPU(s): 0-63 + java -version openjdk version "25-internal" 2025-09-16 OpenJDK Runtime Environment (build 25-internal-450636ae) OpenJDK 64-Bit Server VM (build 25-internal-450636ae, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (25-internal-450636ae) for linux-amd64 JRE (25-internal-450636ae), built on 2025-01-13T12:09:33Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + jtreg -version jtreg 7.4-dev+0 Installed in /tmp/tone/run/jtreg/jtreg/lib/jtreg.jar Running on platform version 25-internal from /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk. Built with Java(TM) 2 SDK, Version 11.0.21+9-LTS on June 14, 2024. Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. JT Harness, version 6.0 ea b24 (June 14, 2024) Java Assembler Tools, version 7.0 ea b09 (June 14, 2024) TestNG: testng-7.3.0.jar, guice-5.1.0.jar, jcommander-1.82.jar JUnit: junit-platform-console-standalone-1.10.2.jar + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git branch master + git log -n 1 + head -n 1 commit 450636ae28b84ded083b6861c6cba85fbf87e16e + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git diff - master
-
b09
-
x86_64, aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8350985 | 24.0.2 | Sendao Yan | P4 | Resolved | Fixed | master |
JDK-8351022 | 21.0.8 | Sendao Yan | P4 | Resolved | Fixed | master |
JDK-8351021 | 17.0.16 | Sendao Yan | P4 | Resolved | Fixed | master |
Reproduce command:
jtreg -ea -esa -Xcomp -jdk:build/linux-x86_64-server-release/images/jdk/ test/langtools/jdk/jshell/FailOverDirectExecutionControlTest.java
STDOUT:
config FailOverDirectExecutionControlTest.setUp(): success
test ExecutionControlTestBase.test(): failure
java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because the return value of "java.util.Map.get(Object)" is null
at FailOverDirectExecutionControlTest.variables(FailOverDirectExecutionControlTest.java:148)
at ExecutionControlTestBase.test(ExecutionControlTestBase.java:40)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
config FailOverDirectExecutionControlTest.tearDown(): success
config FailOverDirectExecutionControlTest.setUp(): success
test FailOverDirectExecutionControlTest.variables(): success
config FailOverDirectExecutionControlTest.tearDown(): success
===============================================
jdk/jshell/FailOverDirectExecutionControlTest.java
Total tests run: 2, Passes: 1, Failures: 1, Skips: 0
===============================================
STDERR:
Jan 14, 2025 2:36:16 AM jdk.jshell.execution.FailOverExecutionControlProvider generate
WARNING: FailOverExecutionControlProvider: Failure failover -- 0 = alwaysFailing -- java.lang.UnsupportedOperationException: This operation intentionally broken.
Jan 14, 2025 2:36:16 AM jdk.jshell.execution.FailOverExecutionControlProvider generate
WARNING: FailOverExecutionControlProvider: Failure failover -- 1 = alwaysFailing -- java.lang.UnsupportedOperationException: This operation intentionally broken.
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:104)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
- backported by
-
JDK-8350985 Test FailOverDirectExecutionControlTest.java fails with -Xcomp
-
- Resolved
-
-
JDK-8351021 Test FailOverDirectExecutionControlTest.java fails with -Xcomp
-
- Resolved
-
-
JDK-8351022 Test FailOverDirectExecutionControlTest.java fails with -Xcomp
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk17u-dev/e45b98b4
-
Commit(master) openjdk/jdk21u-dev/c046d854
-
Commit(master) openjdk/jdk24u/981d3c2b
-
Commit(master) openjdk/jdk/09269497
-
Review(master) openjdk/jdk11u-dev/3008
-
Review(master) openjdk/jdk17u-dev/3312
-
Review(master) openjdk/jdk21u-dev/1442
-
Review(master) openjdk/jdk24u/97
-
Review(master) openjdk/jdk/23265