by aardvark179 · 2y ago · 0 comments
I’ve met many perfectly reasonable developers who do know all those steps can be done but can’t put them all together - maybe because it just hasn’t clicked that you can store a library in a jar. It feels like something tutorials should cover, but I think falls into the, “surely everyone can work it out?” category.
actually you delete it immediately (after load) on anything that's not windows... even then but it's likely to return false.
deleteOnExit just stores the path to delete and uses a shutdownHook to actually call delete. Nothing really special about it
i wonder if there's a way to do this entirely in memory? Because some deployment scenarios might not have disk space at all.
Edit: glibc proposal which was never accepted: https://sourceware.org/bugzilla/show_bug.cgi?id=11767