Re: RFR: JDK-8225140: Build fails if directory contains 'unix'

2019-05-31 Thread Tim Bell
Erik: This patch changes the filter mechanics to only apply to the path relative to the workspace root. I also changed the filter token from "unix" to "/unix/" to avoid the risk of matching substrings in directories in the future. Bug: https://bugs.openjdk.java.net/browse/JDK-8225140 Webrev:

RFR: JDK-8225140: Build fails if directory contains 'unix'

2019-05-31 Thread Erik Joelsson
If the workspace directory (or any parent) contains the word "unix", the build fails in java.desktop-libs. There are several libraries here that use the EXCLUDE_SRC_FILTER option of SetupJdkLibrary to filter away the src/java.desktop/unix/lib* dirs. This option incorrectly includes the whole