From da6cc218cbe22b865ed43a84c1198c5ee15f3371 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Wed, 3 Apr 2024 22:43:58 +0000 Subject: [PATCH] archive/zip: fix a broken URL in a comment in writeDataDescriptor 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 Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor --- src/archive/zip/writer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archive/zip/writer.go b/src/archive/zip/writer.go index 9e2dcff713..8d868de5e0 100644 --- a/src/archive/zip/writer.go +++ b/src/archive/zip/writer.go @@ -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