[jdk17u-dev] RFR: 8330814: Cleanups for KeepAliveCache tests
Amos Shi
ashi at openjdk.org
Sat Aug 17 02:49:34 UTC 2024
Backport of [JDK-8330814](https://bugs.openjdk.org/browse/JDK-8330814)
- This PR has two commits
- `commit 1` is a `clean` git patch from original commit
- `commit 2` is fixing the following compile error
----------System.err:(8/634)----------
/Users/I048686/SAPDevelop/github.com/dev-8330814-17/test/jdk/sun/net/www/http/KeepAliveCache/B5045306.java:73: error: no suitable method found for create(InetSocketAddress,int,String,SimpleHttpTransactionHandler)
server = HttpServer.create(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0), 10, "/", new SimpleHttpTransactionHandler());
^
method HttpServer.create() is not applicable
(actual and formal argument lists differ in length)
method HttpServer.create(InetSocketAddress,int) is not applicable
(actual and formal argument lists differ in length)
1 error
result: Failed. Compilation failed: Compilation failed
Testing
- Local: Test passed on `MacOS 14.6.1` on Apple M1 Max
- `B5045306.java`: Test results: passed: 1
- `B8291637.java`: Test results: passed: 1
- `B8293562.java`: Test results: passed: 1
- `KeepAliveProperty.java`: Test results: passed: 1
- `KeepAliveTimerThread.java`: Test results: passed: 1
- Pipeline:
- Testing Machine:
-------------
Commit messages:
- Backport a5005c87c4d5598eb54e9824105767d833f9660b Fix Compilation error
- Backport a5005c87c4d5598eb54e9824105767d833f9660b
Changes: https://git.openjdk.org/jdk17u-dev/pull/2813/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2813&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8330814
Stats: 290 lines in 5 files changed: 113 ins; 69 del; 108 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2813.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2813/head:pull/2813
PR: https://git.openjdk.org/jdk17u-dev/pull/2813
More information about the jdk-updates-dev
mailing list