aboutsummaryrefslogtreecommitdiff
path: root/java/openjdk25
Commit message (Collapse)AuthorAgeFilesLines
* java/openjdk{25,26}: portclippy and cleanupHarald Eilertsen2026-09-081-21/+16
| | | | | | | | | | | | 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 Foundation
* java/openjdk{25,26}: Don't req xorg for headlessRaivo Hool2026-09-011-1/+8
| | | | | | | | | | | | | | | 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/D59167
* java/openjdk25: Update to version 25.0.4Harald Eilertsen2026-07-312-5/+5
| | | | | | | | Includes the following FreeBSD specific fixes: - Set wxneeded flag for executables on FreeBSD. - Fix build with clang 22 Sponsored by: The FreeBSD Foundation
* java/openjdk25: fix build on freebsd 16/aarch64Ronald Klop2026-06-193-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | === 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/openjdk25/work-jdk/openjdk-jdk-25.0.3-9-freebsd-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/openjdk25/work-jdk/openjdk-jdk-25.0.3-9-freebsd-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/openjdk25/work-jdk/openjdk-jdk-25.0.3-9-freebsd-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/openjdk25/work-jdk/openjdk-jdk-25.0.3-9-freebsd-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/openjdk25/work-jdk/openjdk-jdk-25.0.3-9-freebsd-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.html
* java/openjdk25: Update to OpenJDK 25.0.3Harald Eilertsen2026-04-222-6/+5
| | | | | | Approved by: jrm, fuz, pkubaj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56522
* java/openjdk*: Fix possible race after configureHarald Eilertsen2026-04-081-1/+1
| | | | | | | | | | | | | | | | | | | 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/D56289
* java/openjdk: Fix pkgsuffix for jre buildsHarald Eilertsen2026-03-281-2/+2
| | | | | | | | | | | 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/D56123
* java/openjdk25: Fix headless buildHarald Eilertsen2026-02-281-6/+2
| | | | | | | | | | | | The OpenJDK headless builds still need xorg and related libraries. This should hopefully fix the pkg fallouts reported after the update to 25.0.2. Reviewed by: fuz (mentor) Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55589
* java/openjdk25: Update to OpenJDK 25.0.2Harald Eilertsen2026-02-264-37/+5
| | | | | | | | | | | | | | | | | | | | | | | Update to track upstream version 25.0.2, with fixes for FreeBSD. See the upstream release notes for details on what has changed since version 25.0.1: https://www.oracle.com/java/technologies/javase/25-0-2-relnotes.html In addition to the above, this release includes the following patch, scheduled for JDK 26 by upstream. JDK-8371637: allocateNativeInternal sometimes return incorrectly aligned memory This is because this patch affects systems using jemalloc specifically, like FreeBSD does, but I feel it's too long time to wait until the next LTS release before making it available on FreeBSD. Reviewed by: fuz (mentor) Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55529
* java/openjdk21-25: Bootstrap from prebuilt packagesHarald Eilertsen2026-02-232-15/+12
| | | | | | | | | | | Completes the transition to using prebuilt packages to bootstrap OpenJDK ports. PR: 289731 Reviewed by: jrm, fuz (mentor) Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54731
* graphics/lcms2: Bump PORTREVISION of dependent ports for shlib changePo-Chuan Hsieh2026-02-031-0/+1
| | | | | PR: 292881 Reported by: Petr Lampa <lampa@fit.vutbr.cz>
* java/openjdk25: Update to version 25.0.1Harald Eilertsen2025-12-042-5/+5
| | | | | | | Reviewed-by: fuz (mentor) Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53975
* java/openjdk25: Add jre_headless flavorHarald Eilertsen2025-11-251-20/+30
| | | | | | | | | | | Add flavor to make a headless jre package, where dev tools and x11 support is removed. As requested in Bug #266059. PR: 266059 Reviewed by: fuz, jrm Approved by: fuz (Mentor), jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53707
* java/openjdk25: Add jre and headless flavorsHarald Eilertsen2025-11-041-52/+76
| | | | | | | | | | | | | Add FLAVORS to allow building jre and headless variants from the same port. For backwards compatibility, it is also possible to build the jre version by setting the BUILD_JRE env var. Also reorganize the Makefile to make portclippy happy Reviewed by: fuz, jrm Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53450
* java/openjdk25: fix build on powerpc64*Piotr Kubaj2025-10-301-0/+11
| | | | /wrkdirs/usr/ports/java/openjdk25/work/openjdk-jdk-25-36-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp:182:54: error: no member named 'regs' in '__mcontext'
* java/openjdk25: New portHarald Eilertsen2025-10-279-0/+279
An open-source implementation of the Java Platform, Standard Edition. WWW: https://openjdk.java.net/projects/jdk/25/ Reviewed by: jrm, bofh Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53326