Close DelegatingJavaFileManager used with release argument

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jun 29 01:09:59 UTC 2020


Hi Alex,


Thanks for the report.


Filed as https://bugs.openjdk.java.net/browse/JDK-8248449


-- Jon


On 6/28/20 3:08 PM, Alex Foster wrote:
> H <mailto:compiler-dev at openjdk.java.net>i,
>
> When the --release option is used with JavacTool.getTask a 
> DelegatingJavaFileManager is installed in the context. I don't see any 
> way to close this file manager to close the jar files that its release 
> file manager is holding. If there is a way to close it then how would 
> I do that? Otherwise can a way please be added?
>
> Thanks,
> Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20200628/73fc8503/attachment.htm>


More information about the compiler-dev mailing list