Page MenuHomeFreeBSD

java/openjdk*: Deprecate unmaintained versions
ClosedPublic

Authored by haraldei on Dec 11 2025, 3:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 10, 3:27 PM
Unknown Object (File)
Sat, Jan 10, 4:56 AM
Unknown Object (File)
Sat, Jan 3, 5:30 PM
Unknown Object (File)
Thu, Dec 25, 9:28 PM
Unknown Object (File)
Fri, Dec 19, 3:04 AM
Unknown Object (File)
Thu, Dec 18, 7:26 PM
Unknown Object (File)
Thu, Dec 18, 7:32 AM
Unknown Object (File)
Thu, Dec 18, 6:47 AM
Subscribers

Details

Summary

This deprecates the non-lts versions of OpenJDK, to discourage
installing the, from the ports tree. I have not set a expiration date
for the ports yet, as I think it's worth discussing this a bit before
deciding on hard timeframes.

Test Plan
  • None

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

haraldei created this revision.

Are we planning to remove these ports from the tree at some point? If so, you should also set EXPIRATION_DATE.

Ignore me. I somehow missed your comment above when I wrote this.

DEPRECATED without EXPIRATION_DATE is pointless. Please follow this procedure:

  1. Starting with the oldest one put an EXPIRATION_DATE of 30 days ahead. Like openjdk18 30D+NOW. OpenJDK19 60D+NOW and onwards.
  2. Make sure that every ports has a PORTREVISION bump. So that any users who needs/uses this also needs to reinstall the ports and get a notification that their used ports are getting removed.
  3. Also merge quarterly.

It's a lengthy procedure but safer. But as now we have someone looking at the OpenJDK ports try to align with the upstream and whenever they mark a version EOL mark that DEPRECATED. Normally for Java it's safe to align with the quarterly end date for Expiration. So if a version reaches EOL on let's say 15th April you can set it to the end of quarter like 0630.

@bofh Thanks! That's exactly the kind of feedback I was looking for.

I agree it's pointless to just set a deprecation without and expiration date, but was unsure about what the proper procedure for expiring ports like this was.

  • java/openjdk*: expiration date + portrevision

While committing please add the MFH marker. Like MFH: 2025Q4. And also remove the dots at the end of the DEPRECATED.

This revision is now accepted and ready to land.Dec 12 2025, 11:17 AM

But there is no bootstrap in the ports for either 21 or 25.

In D54176#1238034, @vvd wrote:

But there is no bootstrap in the ports for either 21 or 25.

I know, and I'm working on it. Thanks for pointing it out though.

I think this should have happened *after* new bootstrap ports have emerged...

I think this should have happened *after* new bootstrap ports have emerged...

I agree! Was a bit too quick there. Working on fixing it.