Skip to content
Permalink
Browse files

8233680: JavacFileManager.close() doesn't clear some cache instance v…

…ariables

Reviewed-by: jjg
  • Loading branch information
GreenRecycleBin authored and jonathan-gibbons committed Jan 15, 2020
1 parent bdc9d3d commit f0c804676cd7275b7e485221f2af8e239828f7a9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
@@ -733,6 +733,8 @@ public void close() throws IOException {
container.close();
}
containers.clear();
pathsAndContainersByLocationAndRelativeDirectory.clear();
nonIndexingContainersByLocation.clear();
contentCache.clear();
}

0 comments on commit f0c8046

Please sign in to comment.