[jdk11u-dev] RFR: 8326564: Problem list HttpURLConnectionExpectContinueTest.java due to 8326503 [v3]

Severin Gehwolf sgehwolf at openjdk.org
Mon Feb 26 10:59:59 UTC 2024


On Fri, 23 Feb 2024 09:27:17 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.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8326564: Problem list HttpURLConnectionExpectContinueTest.java due to 8326503
>   
>   Signed-off-by: sendaoYan <yansendao.ysd at alibaba-inc.com>

Perhaps we should push the test fix instead? See https://github.com/openjdk/jdk11u-dev/pull/2553 (avoids the unexclude hand-shake).

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2545#issuecomment-1963857050


More information about the jdk-updates-dev mailing list