--module-source-path does not accept symlink
Weijun Wang
weijun.wang at oracle.com
Mon Feb 27 03:31:55 UTC 2017
$ mkdir -p s/z
$ echo "module z { }" > s/z/module-info.java
$ javac --module-source-path s -d /tmp s/z/module-info.java
$ ln -s s t
$ javac --module-source-path t -d /tmp t/z/module-info.java
t/z/module-info.java:1: error: module not found on module source path
module z { }
^
1 error
Is this a bug?
I find this issue when I was running jib and my /var/tmp/jib_myname is a
symlink to another jib directory in another Linux installation.
Thanks
Max
More information about the compiler-dev
mailing list