If I add a password protected zip file in the application package, I get the following error with version 1.8.6 :
Exception in thread "main" java.io.IOException: Error computing digest for: externalProperties.zip
at com.threerings.getdown.data.f.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.zip.ZipException: invalid CEN header (encrypted entry)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.zip.ZipFile.<init>(ZipFile.java:169)
at com.threerings.getdown.data.Resource.computeDigest(Unknown Source)
The error is not present in version 1.7.X
I think the cause is the pull request #206 (comment)
I'm wondering if usage of zip files as resource, should be configurable, using a switch in getdown.txt file ? This would also close #275