@@ -143,8 +143,8 @@ object Scala2Unpickler {
143
143
/** Unpickle symbol table information descending from a class and/or module root
144
144
* from an array of bytes.
145
145
* @param bytes bytearray from which we unpickle
146
- * @param classroot the top-level class which is unpickled, or NoSymbol if inapplicable
147
- * @param moduleroot the top-level module class which is unpickled, or NoSymbol if inapplicable
146
+ * @param classRoot the top-level class which is unpickled, or NoSymbol if inapplicable
147
+ * @param moduleClassRoot the top-level module class which is unpickled, or NoSymbol if inapplicable
148
148
* @param filename filename associated with bytearray, only used for error messages
149
149
*/
150
150
class Scala2Unpickler (bytes : Array [Byte ], classRoot : ClassDenotation , moduleClassRoot : ClassDenotation )(ictx : Context )
@@ -191,6 +191,8 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas
191
191
192
192
def run ()(implicit ctx : Context ): Unit =
193
193
try {
194
+ classRoot.startedLoading()
195
+ moduleRoot.startedLoading()
194
196
var i = 0
195
197
while (i < index.length) {
196
198
if (entries(i) == null && isSymbolEntry(i)) {
@@ -225,6 +227,8 @@ class Scala2Unpickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClas
225
227
}
226
228
i += 1
227
229
}
230
+ classRoot.finishedLoading()
231
+ moduleRoot.finishedLoading()
228
232
}
229
233
catch {
230
234
case ex : RuntimeException => handleRuntimeException(ex)
0 commit comments