On Tue, 24 Mar 2026 12:25:23 GMT, Eirik Bjørsnøs <[email protected]> wrote:
> Including the mention of an empty comment was my initiative. My thinking was > that now it isn't entirely clear if an empty comment would be allowed or > rejected. It's a special / corner-case value which could raise questions if > not mentioned. The current text specifies it as equivalent to null. Also interesting to note that in the read side, in `ZipFile.getComment` we return null for an empty comment, not the empty string. So there is a distinction in that API, but not really on the write side. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30338#discussion_r2981210182
