Hello Magnus:
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. :-(
Too bad.
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
Looks good to me.
Hopefully the issue will stay fixed this time. The previous attempt was
in JDK-8009315.
Tim