You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2018/09/27 05:15:05 UTC

[Bug 62764] junit: pathelement with wildcard fails running on java 11 - InvalidPathException: Illegal char <*>

https://bz.apache.org/bugzilla/show_bug.cgi?id=62764

Jaikiran Pai <ja...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Jaikiran Pai <ja...@apache.org> ---
On my local *nix setup, I can't get this to work properly on Java 8 either. I
don't run into the exception you are seeing, but the use of "lib/*" like you do
in the build.xml doesn't really include the jar files in the lib directory and
as a result, the build fails with ClassNotFoundException(s). Enabling verbose
logging shows this:

"adding /home/me/test/lib/* which contains wildcards and may not do what you
intend it to do depending on your OS or version of Java"

So it does appear that this usage isn't really expected to work credibly.

-- 
You are receiving this mail because:
You are the assignee for the bug.