8193072: File.delete() should remove its path from DeleteOnExitHook.files
brian.burkhalter at oracle.com
Tue Jul 9 23:40:46 UTC 2019
I don’t know. On the one hand this does not take an action like reading, writing, or deleting, but on the other it could end up causing files to be left lying around after VM termination which were expected to be deleted. I suppose that could be considered to be some sort of security issue.
> On Jul 9, 2019, at 2:26 PM, Jason Mehrens <jason_mehrens at hotmail.com> wrote:
> Would the SecurityManager need to for permissions (checkWrite or some new permission) before cancelDeleteOnExit() is allowed?
More information about the core-libs-dev