JEP 330 and MemoryClassLoader.getResourceAsStream
john.r.rose at oracle.com
Sat Aug 25 07:00:11 UTC 2018
On Aug 24, 2018, at 9:34 PM, Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
>> I also believe that this shouldn't require a workaround at all,
>> but should be somehow native to the JVM, as $0 is to
>> the shell. So I also filed JDK-8209963 to track this RFE.
> We could define and use a system property with the filename.
Yep. My sample code is designed around the hope that
we'd do that someday. At that point, the nasty stuff at the
top could be stripped, up to the second shebang "#!",
and without the explicit -D options.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the compiler-dev