FW: Running javac with symlinks
Jonathan Gibbons
jonathan.gibbons at oracle.com
Sat Nov 26 03:38:40 UTC 2016
compiler-dev is a better place to discuss this change in behavior.
-- Jon
On 11/25/16 2:33 PM, Bruno Alexandre Rosa wrote:
> Forwarding to a more general list since I don't know exactly where else I should ask this question.
>
> Also, both man pages from openjdk8 and an early access Java SE9 [2] have the same text regarding the default behavior:
>
> "If the -d option is not specified, then javac puts each class file in the same directory as the source file from which it was generated."
>
>
> [2] - http://download.java.net/java/jigsaw/docs/technotes/tools/unix/javac.html
>
> Regards
> Bruno Rosa
>
> From: Bruno Alexandre Rosa
> Sent: sexta-feira, 25 de novembro de 2016 16:47
> To: 'compiler-dev at openjdk.java.net' <compiler-dev at openjdk.java.net>
> Subject: Running javac with symlinks
>
> Hi, everyone,
>
> I came across a minor unusual situation trying to compile and run the java version of a benchmark suite [1]: in jdk9, when the source files are actually symlinks, the bytecode files are generated in the same directories as the *targets* of the links as opposed to the behavior in jdk8, whereas in the bytecode files are generated in the same path as the link themselves.
>
> So, my question is: is this new behavior a feature or a bug?
>
> Regards,
> Bruno Rosa
>
> [1] - https://benchmarksgame.alioth.debian.org/
More information about the jdk9-dev
mailing list