RFR: 8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11 [v2]

Julia Boes jboes at openjdk.java.net
Wed Feb 16 09:05:46 UTC 2022


> This change adds a check for URI path segments that look like a root drive on Windows, e.g. "C:". Such path segments are not supported because a request path should really be relative to the working directory.
> 
> The check is implemented with a platform-specific helper class, some additional test cases are included.
> 
> Testing: tier 1-3, common Windows versions.

Julia Boes has updated the pull request incrementally with one additional commit since the last revision:

  fix package hierarchy

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7478/files
  - new: https://git.openjdk.java.net/jdk/pull/7478/files/8a2b738b..a6ef6934

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7478&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7478&range=00-01

  Stats: 0 lines in 2 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7478.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7478/head:pull/7478

PR: https://git.openjdk.java.net/jdk/pull/7478


More information about the net-dev mailing list