RFR: 8274734: the method jdk.jshell.SourceCodeAnalysis documentation not working

Jan Lahoda jlahoda at openjdk.java.net
Fri Oct 22 11:05:28 UTC 2021


The `SourceCodeAnalysisImpl` needs to open `src.zip` to read the sources to get javadoc. Unfortunately, it uses the variant of the `newFileSystem` method that can only be used one, and hence only one `SourceCodeAnalysisImpl` can provide documentation. The proposed solution is to use the variant of the `newFileSystem` method that can open the FileSystem multiple times, so that multiple independent SourceCodeAnalysisImpl instances can provide documentation.

-------------

Commit messages:
 - 8274734: the method jdk.jshell.SourceCodeAnalysis documentation not working

Changes: https://git.openjdk.java.net/jdk/pull/6080/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6080&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274734
  Stats: 78 lines in 2 files changed: 76 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6080.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6080/head:pull/6080

PR: https://git.openjdk.java.net/jdk/pull/6080


More information about the kulla-dev mailing list