[jdk11u-dev] RFR: 8326503: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fail because of package org.junit.jupiter.api does not exist
SendaoYan
syan at openjdk.org
Fri Feb 23 08:17:17 UTC 2024
The testcase java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java was newly added, it's backport from jdk23.
This testcase rely on jtreg-7, and it will fail run by jtreg-6: error: package org.junit.jupiter.api does not exist
If I use jtreg7 instead of jtreg6 to run all the testcases of jdk11u-dev, there are 424 testcases fail.
There are a total of 2 types failure:
1.javax/xml/jaxp testcases fail because of `java.security.AccessControlException: access denied (“java.util.PropertyPermission” “testng.thread.affinity” “read”)`
2. 5 tools/javac testcases fails, such as tools/javac/6257443/T6257443.java, the fail message is: `Error. Parse Exception: Bad classname provided for `clean’: foo.package-info`
So, the solution that use jtreg-7 instead of jtreg-6 is unacctable. Util we found a good solution to run this testcase success, this testcase should be excluded.
-------------
Commit messages:
- 8326503: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fail because of package org.junit.jupiter.api does not exist
Changes: https://git.openjdk.org/jdk11u-dev/pull/2545/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2545&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8326503
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2545.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2545/head:pull/2545
PR: https://git.openjdk.org/jdk11u-dev/pull/2545
More information about the jdk-updates-dev
mailing list