src/Pure/Tools/build_job.scala
changeset 73031 f93f0597f4fb
parent 72964 2621225b4bdd
child 73033 d2690444c00a
--- a/src/Pure/Tools/build_job.scala	Sat Jan 02 20:56:08 2021 +0100
+++ b/src/Pure/Tools/build_job.scala	Sat Jan 02 22:22:34 2021 +0100
@@ -25,7 +25,7 @@
       db_context.get_export(List(session), theory, name)
 
     def read_xml(name: String): XML.Body =
-      db_context.xml_cache.body(YXML.parse_body(
+      db_context.cache.body(YXML.parse_body(
         Symbol.output(unicode_symbols, UTF8.decode_permissive(read(name).uncompressed))))
 
     (read(Export.DOCUMENT_ID).text, split_lines(read(Export.FILES).text)) match {
@@ -234,8 +234,7 @@
       val resources = new Resources(sessions_structure, base, command_timings = command_timings0)
       val session =
         new Session(options, resources) {
-          override val xml_cache: XML.Cache = store.xml_cache
-          override val xz_cache: XZ.Cache = store.xz_cache
+          override val cache: XML.Cache = store.cache
 
           override def build_blobs_info(name: Document.Node.Name): Command.Blobs_Info =
           {
@@ -262,7 +261,7 @@
       }
 
       val export_consumer =
-        Export.consumer(store.open_database(session_name, output = true), store.xz_cache)
+        Export.consumer(store.open_database(session_name, output = true), store.cache)
 
       val stdout = new StringBuilder(1000)
       val stderr = new StringBuilder(1000)