On Mon, 7 Oct 2024 21:54:57 GMT, Daniel Gredler <d...@openjdk.org> wrote:
> Interesting idea. I personally don't know enough to weigh in on whether the > benefits of saving to disk outweigh the drawbacks. It might be possible to > emit the Base64-ed PNG to sysout or syserr (these images should compress very > well as PNG), but keep in mind that these two tests are headless and drawing > to an in-memory `BufferedImage`, so the usage might be a little different > than the screenshot-focused solution outlined in JDK-8328716. There is no issue saving to disk. If there were, we'd have big problems because that's where the class files go ! Doing what I suggested is the way to go. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20993#discussion_r1790928196