Skip to content

Commit 53e4cfc

Browse files
committed
Null out the file reader after classfile parsing.
1 parent 906d022 commit 53e4cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ abstract class ClassfileParser {
533533
)
534534
if (needsConstructor)
535535
instanceScope enter clazz.newClassConstructor(NoPosition)
536+
in = null
536537
}
537538

538539
loaders.pendingLoadActions ::= (queueLoad _)

0 commit comments

Comments
 (0)