java/openjdk26: Deprecate port Upstream is no longer maintaining OpenJDK 26. It is advised to switch to an LTS version, or the latest maintained version. Ref: https://github.com/openjdk/jdk26u Reviewed by: emaste, jrm MFH: 2026Q4 Sponsored by: The FreeBSD Foundation801f469f01
Port details
java/openjdk2626.0.2+10.1_1
Java Development Kit 26
- Maintainer
- java@FreeBSD.org
- Packages
- openjdk26 26.0.2+10.1_1, openjdk26-headless 26.0.2+10.1_1, openjdk26-jre 26.0.2+10.1_1, openjdk26-jre-headless 26.0.2+10.1_1
- Upstream
- Higher version available: 27.0.0
- CPE
oracle:openjdkfrom the port- WWW
- https://openjdk.java.net/projects/jdk/26/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (9)
java/openjdk{25,26}: portclippy and cleanup
Just a cleanup commit sorting the Makefile according to the order
outlined in the Porters Handbook, and reducing the number of times we
check for a headless build, as suggested by vsasjason_gmail.com.
This commit does not increase the PORTREVISION as it does not introduce
any changes to functionality or dependencies.
Reviewed by: jrm
Sponsored by: The FreeBSD Foundation94a68738ffjava/openjdk{25,26}: Don't req xorg for headless
We no longer need the xorg libs to build OpenJDK headless variants for
OpenJDK 25 and 26.
Relevant upstream JBS issues:
- OpenJDK 25.0.4: https://bugs.openjdk.org/browse/JDK-8381011
- OpenJDK 26.0.2: https://bugs.openjdk.org/browse/JDK-8378158
PR: 294358
Reported by: raivo@lehma.com
Reviewed by: haraldei, jrm
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D591679c0054517djava/openjdk26: Upgrade to OpenJDK 26.0.2 Sponsored by: The FreeBSD Foundation80f1e6b5d1
java/openjdk26: fix build on freebsd 16/aarch64
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_os_bsd.o:
In file included from /wrkdirs/usr/ports/java/openjdk26/work-jdk/openjdk-jdk-26-35-1/src/hotspot/os/bsd/os_bsd.cpp:135:
In file included from /usr/include/sys/user.h:52:
In file included from /usr/include/vm/pmap.h:88:
In file included from /usr/include/machine/pmap.h:46:
In file included from /usr/include/sys/systm.h:46:
/usr/include/machine/cpufunc.h:35:1: error: static declaration of 'breakpoint' follows non-static declaration
35 | breakpoint(void)
| ^
/wrkdirs/usr/ports/java/openjdk26/work-jdk/openjdk-jdk-26-35-1/src/hotspot/share/utilities/breakpoint.hpp:31:17: note: previous declaration is here
31 | extern "C" void breakpoint();
| ^
1 error generated.
* For target hotspot_variant-server_libjvm_objs_os_perf_bsd.o:
In file included from /wrkdirs/usr/ports/java/openjdk26/work-jdk/openjdk-jdk-26-35-1/src/hotspot/os/bsd/os_perf_bsd.cpp:37:
In file included from /usr/include/sys/user.h:52:
In file included from /usr/include/vm/pmap.h:88:
In file included from /usr/include/machine/pmap.h:46:
In file included from /usr/include/sys/systm.h:46:
/usr/include/machine/cpufunc.h:35:1: error: static declaration of 'breakpoint' follows non-static declaration
35 | breakpoint(void)
| ^
/wrkdirs/usr/ports/java/openjdk26/work-jdk/openjdk-jdk-26-35-1/src/hotspot/share/utilities/breakpoint.hpp:31:17: note: previous declaration is here
31 | extern "C" void breakpoint();
| ^
1 error generated.
* All command lines available in /wrkdirs/usr/ports/java/openjdk26/work-jdk/openjdk-jdk-26-35-1/build/bsd-aarch64-server-release/make-support/failure-logs.
=== End of repeated output ===
I don't know why this does not happen on other architectures or freebsd versions.
- changed post-patch to pre-configure, this makes it a lot easier to use "make
makepatch".
Reported-by: https://portsfallout.com/fallout?port=java%2Fopenjdk
Approved-by: silence on java@ https://lists.freebsd.org/archives/freebsd-java/2026-June/003715.htmlc13171e6dejava/openjdk26: fix build on powerpc64* 1. atomicAccess and orderAccess are implemented project-wide for ppc on all systems. 2. Sync os_bsd_ppc.cpp with linux to fix SIGABRT.a11bc0460b
java/openjdk*: Fix possible race after configure Some setups could fail when building with poudriere bulk with a message about the configuration was out of date. Since configure is run as part of the build in any case, we don't need the explicit configure check in the openjdk build system, so we disable it. Fix originally proposed by jonc@chen.org.nz. Since this doen not change the port, only whether it will build or not, I have not bumped the PORTREVISION for this change. PR: 294199 Reported by: nxjoseph Reviewed by: glewis Approved by: glewis Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D562896fe56cc444
java/openjdk: Fix pkgsuffix for jre builds java/openjdk25 and openjdk26 would use the same pkgsuffix when building the jre FLAVOR, making the package names clash. Reported by: Antoine Brodin <antoine@freebsd.org> Reviewed by: fuz Approved by: fuz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56123ad618043f3
java/openjdk26: Add port Includes relevant fixes for FreeBSD from mainline development, but otherwise identical to the upstream release. Release notes for the upstream release is here: https://www.oracle.com/java/technologies/javase/26-relnote-issues.html FreeBSD related fixes on top of the upstream relese: - Serviceability Agent: fix stack traces in threads. - Serviceability Agent: simplify implementation of procadd_read_data to read memory from process being traced. - Serviceability Agent: symbol lookup would occationally fail for native symbols in shared objects. Reviewed by: fuz (mentor), jrm Approved by: fuz (mentor), jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55938dd0268f9f5