Affects PMD Version: 6.9.0
Rule: Runtime, no specific rule.
Description: We have a file path variable on the stack that ends with a * for wildcarding. For backwards compatibility reasons this cannot be removed. If I add the cacheLocation parameter to the pmd call with any path, absolute, relative, parameterized, etc, it throws the following error when running the PMD target:
c:\absolutepath\build.xml:1301: java.nio.file.InvalidPathException: Illegal char * at index 35: c:\wildcardingpath*
Adding that parameter appears to make PMD look at other variables on the stack that aren't directly provided to it.
We had this same issue with junit and javac but those targets allow the includeAntRuntime="false" parameter to forcibly tell them to ignore all other variables on the stack aside from what you pass into the target. This parameter for ignoring other variables doesn't appear to be allowed on PMD.
Running PMD through: [Ant]
I am running this through Java 11 64 bit on a windows 7 machine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4