RFR: JDK-8136764 ORIGINAL_PATH is broken if PATH contains directory with "#" in it's name
Erik Joelsson
erik.joelsson at oracle.com
Fri Sep 18 16:19:40 UTC 2015
Looks good.
/Erik
On 2015-09-18 07:47, Magnus Ihse Bursie wrote:
> If the PATH contains a directory with a # in it's name, we will store
> ORIGINAL_PATH=...#... in spec.gmk.
>
> However, this will result in make cutting the line at #, believing the
> rest to be a comment.
>
> Unfortunately, having directories named # is not so esoteric it at
> first seems, since Microsoft Visual Studio typically adds it's F#
> implementation to the PATH. :-(
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8136764
> WebRev:
> http://cr.openjdk.java.net/~ihse/JDK-8136764-escape-hash-in-ORIGINAL_PATH/webrev.01
>
> /Magnus
>
More information about the build-dev
mailing list