RFR: JDK-8136764 ORIGINAL_PATH is broken if PATH contains directory with "#" in it's name

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Sep 18 14:47:26 UTC 2015


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