Fix for ZipException under interpreted ANSI tests.

Check that the cache entries still accesses an open ZipFile when it is
handed out.

Use SYS:DISABLE-ZIP-CACHE to disable the ZipCache entirely.

Implemented some notion of thread synchronization, although we cannot
guard against the case where two or more references to a ZipFile
exist, and one thread closes the ZipFile.
parent e41d897d
......@@ -606,6 +606,7 @@ public class Autoload extends Function
autoload(PACKAGE_SYS, "create-new-file", "create_new_file");
autoload(PACKAGE_SYS, "default-time-zone", "Time");
autoload(PACKAGE_SYS, "disassemble-class-bytes", "disassemble_class_bytes", true);
autoload(PACKAGE_SYS, "disable-zip-cache", "ZipCache", true);
autoload(PACKAGE_SYS, "double-float-high-bits", "FloatFunctions", true);
autoload(PACKAGE_SYS, "double-float-low-bits", "FloatFunctions", true);
autoload(PACKAGE_SYS, "float-infinity-p", "FloatFunctions", true);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment