Re: Nashorn on the module-path

2019-05-26 Thread James Laskey
Christian, I can’t see the rest of the thread so I don’t have a context. Sent from my iPhone On May 26, 2019, at 6:17 AM, Christian Stein wrote: >> Have you brought this up on nashorn-dev... > > No, but cc-ed that list now. > >> ...as this might require digging into the dynalink linker >> a

Re: Nashorn on the module-path

2019-05-26 Thread Christian Stein
> Have you brought this up on nashorn-dev... No, but cc-ed that list now. > ...as this might require digging into the dynalink linker > and how method handles are used. Do you think it's still worth the effort in regard of Nashorn being deprecated for removal? Perhaps the underlying reason may s

Re: Why doesn’t jdk.internal.loader.Loader implement AutoCloseable?

2019-05-26 Thread Christian Stein
On Sun, May 26, 2019 at 10:31 AM Alan Bateman wrote: > On 26/05/2019 06:45, Christian Stein wrote: > > Hi, > > > > following the documentation of ModulLayer [1] to create a > > temporary layer for testing, results in a FileSystemException > > when trying to delete the modular jar file after tests

Re: Nashorn on the module-path

2019-05-26 Thread Alan Bateman
On 16/05/2019 15:02, Christian Stein wrote: :  It didn't emit any new line. Is there another debug switch I can enable? Have you brought this up on nashorn-dev as this might require digging into the dynalink linker and how method handles are used. -Alan

Re: Why doesn’t jdk.internal.loader.Loader implement AutoCloseable?

2019-05-26 Thread Alan Bateman
On 26/05/2019 06:45, Christian Stein wrote: Hi, following the documentation of ModulLayer [1] to create a temporary layer for testing, results in a FileSystemException when trying to delete the modular jar file after tests are finished. Can you create a WeakReference to the module layer and do t