JEP 330
forax at univ-mlv.fr
forax at univ-mlv.fr
Fri Jun 1 20:26:19 UTC 2018
> De: "John Rose" <john.r.rose at oracle.com>
> À: "Remi Forax" <forax at univ-mlv.fr>
> Cc: "cay horstmann" <cay.horstmann at gmail.com>, "compiler-dev"
> <compiler-dev at openjdk.java.net>
> Envoyé: Jeudi 31 Mai 2018 22:55:14
> Objet: Re: JEP 330
> On May 31, 2018, at 1:36 PM, Remi Forax < [ mailto:forax at univ-mlv.fr |
> 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.
Amusingly, it's easier to get a jar from a server somewhere on the planet than to get a jar from the same directory of a script :)
> — John
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180601/5feed269/attachment.html>
More information about the compiler-dev
mailing list