[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
On Fri, 23 Feb 2024 08:12:37 GMT, SendaoYan <syan at openjdk.org> wrote:
> 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.
Only change the ProblemList.txt, the risk is low.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2545#issuecomment-1960894604
More information about the jdk-updates-dev
mailing list