Follow-up: Branch github.com/openjdk/jdk for stabilization (instead of fork)

Volker Simonis volker.simonis at gmail.com
Sun Jun 22 14:16:04 UTC 2025


Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> schrieb am Do., 19. Juni
2025, 15:22:

> On 2025-06-18 15:51, Volker Simonis wrote:
>
> > On Tue, Jun 17, 2025 at 4:21 PM Magnus Ihse Bursie
> > <magnus.ihse.bursie at oracle.com> wrote:
> >>
> >> On 2025-06-16 18:35, Volker Simonis wrote:
> >>> On Mon, Jun 16, 2025 at 12:07 PM Magnus Ihse Bursie
> >>> <magnus.ihse.bursie at oracle.com> wrote:
> >>>> What links are you referring to?
> >>> Sorry for the confusion. I just realized that the links to
> >>> `doc/building.{md,html}` are relative links and  therefor already
> >>> pointing to the correct files.
> >>>
> >>> However, the link to the `online documentation` is pointing to
> >>> `https://openjdk.org/groups/build/doc/building.html`
> <https://openjdk.org/groups/build/doc/building.html> which isn't even
> >>> at GitHub but on openjkd.org and I don't know when and how that is
> >>> updated (in any case, it's currently just a single, static file for
> >>> all JDK versions). Instead, I propose to replace the link by something
> >>> like
> https://htmlpreview.github.io/?https://github.com/openjdk/jdk/blob/jdk25/doc/building.html
> >>> which will serve the current file as HTML and make it always
> >>> up-to-date. Actually, once we have that, we could even remove the link
> >>> to `https://github.com/openjdk/jdk/blob/jdk25/doc/building.html`
> <https://github.com/openjdk/jdk/blob/jdk25/doc/building.html>
> >>> because looking at a raw HTML file is pretty inconvenient if you're
> >>> searching for build information.
> >> Well, that is just what
> >> https://openjdk.org/groups/build/doc/building.html is. It is not a
> >> static page, it is a stable and comprehensible URL that gets the build
> >> README directly from Github (but presented as text/html from the server,
> >> which is something Github does not do).
> > OK, I see now, https://openjdk.org/groups/build/doc/building.html uses
> > iframe magic and https://htmlpreview.github.io under the hood to serve
> > the actual file as HTML. But this only the correct build.html file for
> > the master branch and not for the older release branches.So why do we
> > need this indirection through
> > https://openjdk.org/groups/build/doc/building.html and can not place
> > the link to
> https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html
> > right into the README.md file as I proposed? This would allow us to
> > point to the correct build.html in a branch while currently e.g. the
> > link in https://github.com/openjdk/jdk/blob/jdk23/README.md will show
> > us
> https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html
> > instead of the correct (and different)
> > https://raw.githubusercontent.com/openjdk/jdk/jdk23/doc/building.html.
>
> I don't think it is proper to point official URLs to non-openjdk.org
> resources.


Saying that pointing to non openjdk.org resources is "not proper" and
instead pointing to another openjdk.org resource which injects the non
openjdk.org content in an iframe is obviously lying to oneself.

As I said, I think it would be enough to point to just the
> markdown file, and it resides in the current repo and thus needs just a
> local link.
>

That's fine for me.


> The point is that people are not really supposed to build the frozen GA
> versions, so we should not really go overboard with linking to a build
> README...
>
> As for the update releases, that is a question for the JDK Updates project.
>
> /Magnus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20250622/da21a37a/attachment.htm>


More information about the jdk-dev mailing list