JEP 330

John Rose john.r.rose at oracle.com
Thu May 31 20:55:14 UTC 2018


On May 31, 2018, at 1:36 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> or just put the jar near the shebang file :)

That raises an interesting question:  How does the shebang script refer to a side file
in the same directory?  In /bin/sh we would say something like "${0%/*}/side.jar".
I suppose there is a JVM property which exposes that command line argument already;
if not there should be.  Then an API like java.nio.file.Path can help find the side file.

— John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180531/a3f03c42/attachment.html>


More information about the compiler-dev mailing list