Can I please get a review of this trivial test-only fix which addresses the 
failure in `test/jdk/java/net/CookieHandler/B6644726.java`? This addresses 
https://bugs.openjdk.org/browse/JDK-8365811.

The test verifies the behaviour of cookie parsing through the 
`java.net.CookieStore` API. For that it uses a couple of cookies which have an 
expiry date set to August 19th 2025 (which is today). The assertions in this 
test start failing once those 2 cookies expire (which is today).

The fix in this PR updates the cookie expiry year to a date very far in future 
to prevent such failures.

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

Commit messages:
 - 8365811: test/jdk/java/net/CookieHandler/B6644726.java failure - "Should 
have 5 cookies. Got only 4, expires probably didn't parse correctly"

Changes: https://git.openjdk.org/jdk/pull/26846/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26846&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365811
  Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26846.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26846/head:pull/26846

PR: https://git.openjdk.org/jdk/pull/26846

Reply via email to