md-5 / SpecialSource

Automatic generator and renamer of jar obfuscation mappings.
Other
202 stars 51 forks source link

Implement Closeable in Jar #44

Closed LunNova closed 6 years ago

LunNova commented 6 years ago

It's currently impossible to close the JarFiles in a Jar.

This doesn't matter much for SpecialSource's internal usages of Jar as it's a short-running process.

Unfortunately ForgeGradle uses SpecialSource and in a long-running gradle daemon process, so the jar files used can be stuck open for a very long time. Adding this would allow ForgeGradle to close them after using them.

LunNova commented 6 years ago

Thanks :)