RFR: 8269761: idea.sh missing .exe suffix when invoking javac on WSL [v3]

Jorn Vernee jvernee at openjdk.java.net
Mon Jul 5 10:40:15 UTC 2021


> From the JBS issue:
> 
> At the end, idea.sh tries to invoke javac, but when running on WSL this results in the following error:
> 
>     bin/idea.sh: line 249: /mnt/c/progra~1/java/jdk-16/bin/javac: No such file or directory
> 
> Adding a .exe suffix to the javac path fixes this issue, which can be done just for WSL.

Jorn Vernee has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into Idea_Exe
 - Add .exe suffix when invoking javac on WSL
 - use CYGPATH variable instead of calling cygpath directly
 - Allow specifying conf to idea.sh

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4656/files
  - new: https://git.openjdk.java.net/jdk/pull/4656/files/9b0f6ba5..cd925bbf

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

  Stats: 2704 lines in 99 files changed: 1617 ins; 450 del; 637 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4656.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4656/head:pull/4656

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



More information about the build-dev mailing list