RFR: 8355697: Create windows devkit on wsl and msys2

kuaiwei duke at openjdk.org
Mon Apr 28 11:08:21 UTC 2025


The patch fix error when creating devkit on wsl/msys2 .
* Msys2 can be supported like cygwin
* In wsl, it can not test path name in windows format, like `d:/VisualStuio` . The path must be converted as linux style.
* In msys2, `cmd.exe /c` doesn't work because "/c" is converted as "c:", it can be work around with `cmd.exe //c`. see https://superuser.com/questions/526736/how-to-run-internal-cmd-command-from-the-msys-shell

I tested it with win10 + wsl/msys2 + VisualStudio 2022(17.13.6)

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

Commit messages:
 - 8355697: Create windows devkit on wsl and msys2

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

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


More information about the build-dev mailing list