On Mon, 24 Oct 2022 20:44:08 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
>> It would be possible to mark classes with `@sealedGraph` to indicate that >> the sealed hierarchy should be rendered graphically in the JavaDocs. Classes >> not marked would be unaffected, creating an opt-in approach. >> >> [Here](https://bugs.openjdk.org/secure/attachment/101126/Screen%20Shot%202022-10-19%20at%2012.47.47%20PM.png) >> is an example of MemoryLayout class rendering. >> >> This feature has been developed in cooperation with Per Minborg. > > Magnus Ihse Bursie has updated the pull request incrementally with one > additional commit since the last revision: > > Rename sealedGraphDotPath to sealedDotOutputDir make/jdk/src/classes/build/tools/taglet/SealedGraph.java line 102: > 100: String dotContent = Renderer.graph(typeElement, exports); > 101: > 102: try (PrintWriter pw = new PrintWriter(dotFile.toFile())) { Can `Files.writeString` be used instead? ------------- PR: https://git.openjdk.org/jdk/pull/10761