]> Cypherpunks repositories - gostls13.git/commitdiff
archive/zip: fix a broken URL in a comment in writeDataDescriptor
authorLiam Miller-Cushon <cushon@google.com>
Wed, 3 Apr 2024 22:43:58 +0000 (22:43 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 4 Apr 2024 14:28:57 +0000 (14:28 +0000)
The comment contains a dead link to a OpenJDK bug ID 7073588
this change fixes the link.

Change-Id: Ib9b10362c707507e59bb6f340d52a0025f65e292
GitHub-Last-Rev: 37af15b947a59346e23191dad264efa0aaa461af
GitHub-Pull-Request: golang/go#66669
Reviewed-on: https://go-review.googlesource.com/c/go/+/576335
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/archive/zip/writer.go

index 9e2dcff7137671ce2dd1c164a2237bee8f87c897..8d868de5e0a8567a65d52c2066cba0b0ffe0e1a0 100644 (file)
@@ -608,7 +608,7 @@ func (w *fileWriter) writeDataDescriptor() error {
        }
        // Write data descriptor. This is more complicated than one would
        // think, see e.g. comments in zipfile.c:putextended() and
-       // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7073588.
+       // https://bugs.openjdk.org/browse/JDK-7073588.
        // The approach here is to write 8 byte sizes if needed without
        // adding a zip64 extra in the local header (too late anyway).
        var buf []byte