[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    Re: --module-source-path does not accept symlink
From:       Weijun Wang <weijun.wang () oracle ! com>
Date:       2017-02-27 3:41:11
Message-ID: 130ea960-5ea2-f672-0519-ccfa38fec42f () oracle ! com
[Download RAW message or body]

Looks like this is a regression of the latest changeset in langtools:

    8173914: StandardJavaFileManager.setLocationForModule
    http://hg.openjdk.java.net/jdk9/dev/langtools/rev/a42d01aa6c9e

The 2nd javac call succeeds if I backout the change.

--Max

On 02/27/2017 11:31 AM, Weijun Wang wrote:
> $ 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic