aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/apache-commons-logging/Makefile3
-rw-r--r--java/apache-commons-logging/distinfo6
-rw-r--r--java/dbvis/Makefile2
-rw-r--r--java/dbvis/distinfo6
-rw-r--r--java/jad/Makefile4
-rw-r--r--java/jikes/pkg-descr2
-rw-r--r--java/netbeans/Makefile5
-rw-r--r--java/netbeans/distinfo6
-rw-r--r--java/netbeans/pkg-plist67
-rw-r--r--java/openjdk23/Makefile187
-rw-r--r--java/openjdk23/distinfo11
-rw-r--r--java/openjdk23/files/patch-configure14
-rw-r--r--java/openjdk23/files/patch-make_autoconf_flags-cflags.m413
-rw-r--r--java/openjdk23/files/patch-make_autoconf_help.m411
-rw-r--r--java/openjdk23/files/patch-make_autoconf_libraries.m415
-rw-r--r--java/openjdk23/files/patch-src_hotspot_os_bsd_os__bsd.cpp11
-rw-r--r--java/openjdk23/files/patch-src_jdk.jdwp.agent_unix_native_libjdwp_exec__md.c20
-rw-r--r--java/openjdk23/pkg-descr8
-rw-r--r--java/openjdk23/pkg-message15
-rw-r--r--java/visualvm/Makefile3
-rw-r--r--java/visualvm/distinfo6
-rw-r--r--java/visualvm/pkg-plist30
-rw-r--r--java/wildfly/Makefile5
-rw-r--r--java/wildfly/distinfo6
25 files changed, 79 insertions, 378 deletions
diff --git a/java/Makefile b/java/Makefile
index be255edd110d..c41c11de0438 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -84,7 +84,6 @@
SUBDIR += openjdk17-jre
SUBDIR += openjdk21
SUBDIR += openjdk21-jre
- SUBDIR += openjdk23
SUBDIR += openjdk24
SUBDIR += openjdk25
SUBDIR += openjdk26
diff --git a/java/apache-commons-logging/Makefile b/java/apache-commons-logging/Makefile
index 8813b3d12c65..3e1b24ae3fa6 100644
--- a/java/apache-commons-logging/Makefile
+++ b/java/apache-commons-logging/Makefile
@@ -1,6 +1,5 @@
PORTNAME= commons-logging
-DISTVERSION= 1.3.5
-PORTREVISION= 3
+DISTVERSION= 1.3.6
CATEGORIES= java devel
MASTER_SITES= APACHE_COMMONS_BINARIES
PKGNAMEPREFIX= apache-
diff --git a/java/apache-commons-logging/distinfo b/java/apache-commons-logging/distinfo
index 3d5049791108..13b4042aa622 100644
--- a/java/apache-commons-logging/distinfo
+++ b/java/apache-commons-logging/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1745871002
-SHA256 (commons-logging-1.3.5-bin.tar.gz) = e2cfc37cd629fc25d2200b540141c2d8645e42b9a586937cb51c2fa47981d86d
-SIZE (commons-logging-1.3.5-bin.tar.gz) = 1145477
+TIMESTAMP = 1778544501
+SHA256 (commons-logging-1.3.6-bin.tar.gz) = efec07a6fe71eb7136bb82844ad2b3d7b0c839faa8918cf0a7f435fed04e0711
+SIZE (commons-logging-1.3.6-bin.tar.gz) = 1572760
diff --git a/java/dbvis/Makefile b/java/dbvis/Makefile
index 566f07ba3c8b..1b75d9b7d7d1 100644
--- a/java/dbvis/Makefile
+++ b/java/dbvis/Makefile
@@ -1,5 +1,5 @@
PORTNAME= dbvis
-DISTVERSION= 26.1.1
+DISTVERSION= 26.1.2
CATEGORIES= java databases
MASTER_SITES= https://www.dbvis.com/product_download/${PORTNAME}-${DISTVERSION}/media/ \
https://storage.googleapis.com/${PORTNAME}-download/product_download/${PORTNAME}-${DISTVERSION}/media/
diff --git a/java/dbvis/distinfo b/java/dbvis/distinfo
index 963ab341250a..b942d562eda0 100644
--- a/java/dbvis/distinfo
+++ b/java/dbvis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1776700000
-SHA256 (dbvis_linux_26_1_1.tar.gz) = 062585a69a7bfae0242edcb30358bf0967b049919616511a82faa807fde9cf54
-SIZE (dbvis_linux_26_1_1.tar.gz) = 176138084
+TIMESTAMP = 1779000000
+SHA256 (dbvis_linux_26_1_2.tar.gz) = ad943d0ffbcb845b555336dcd025a0a38ad3183fba08dcc6d2dd9b61c70634ec
+SIZE (dbvis_linux_26_1_2.tar.gz) = 176977228
diff --git a/java/jad/Makefile b/java/jad/Makefile
index 7d9c9519894e..68b69640a17a 100644
--- a/java/jad/Makefile
+++ b/java/jad/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jad
PORTVERSION= 1.5.8c
+PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= https://varaneckas.com/jad/
DISTNAME= jad158c.freebsd
@@ -7,6 +8,9 @@ DISTNAME= jad158c.freebsd
MAINTAINER= ale@FreeBSD.org
COMMENT= Java Decompiler
+DEPRECATED= This is a version that is over 25 years old and has multiple vulnerabilities
+EXPIRATION_DATE=2026-06-30
+
USES= zip
NO_WRKSUBDIR= yes
NO_BUILD= yes
diff --git a/java/jikes/pkg-descr b/java/jikes/pkg-descr
index 8a54cf156bd6..01c01c2c40c6 100644
--- a/java/jikes/pkg-descr
+++ b/java/jikes/pkg-descr
@@ -3,7 +3,7 @@ made available by IBM under their open-source license, please see:
for details. To operate, the CLASSPATH environment variable must typically
be set to a colon-delimited list of source directories, class directories,
-or zip files. Note that jikes will complain if a non-existant directory or
+or zip files. Note that jikes will complain if a non-existent directory or
file is specified in CLASSPATH.
===============
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile
index e9c26b992985..8694ecd1c79e 100644
--- a/java/netbeans/Makefile
+++ b/java/netbeans/Makefile
@@ -1,6 +1,5 @@
PORTNAME= netbeans
-DISTVERSION= 29
-PORTREVISION= 1
+DISTVERSION= 30
CATEGORIES= java devel
MASTER_SITES= APACHE/netbeans/netbeans/${DISTVERSION}/
DISTNAME= netbeans-${DISTVERSION}-bin
@@ -14,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe java perl5 python:run shebangfix zip
CPE_VENDOR= apache
-JAVA_VERSION= 21 17 25
+JAVA_VERSION= 21+
SHEBANG_FILES= extide/ant/bin/antRun.pl \
extide/ant/bin/complete-ant-cmd.pl \
diff --git a/java/netbeans/distinfo b/java/netbeans/distinfo
index 13492b2a6358..f5461f878c06 100644
--- a/java/netbeans/distinfo
+++ b/java/netbeans/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1772280412
-SHA256 (netbeans-29-bin.zip) = 5e8ca1a7c6797e21bb25b67c17c743068887c170b15bc983bebf704d7e51ec38
-SIZE (netbeans-29-bin.zip) = 516017676
+TIMESTAMP = 1779431632
+SHA256 (netbeans-30-bin.zip) = ab951fc75bdd2ed53be7e4e47e22815aeeb923b1c3e724bf0536c65ccd5cd466
+SIZE (netbeans-30-bin.zip) = 520635086
diff --git a/java/netbeans/pkg-plist b/java/netbeans/pkg-plist
index 974c7e96ff4b..9bdfa3deb933 100644
--- a/java/netbeans/pkg-plist
+++ b/java/netbeans/pkg-plist
@@ -1276,6 +1276,7 @@
%%DATADIR%%/ide/modules/ext/flexmark-0.64.8.jar
%%DATADIR%%/ide/modules/ext/flexmark-ext-anchorlink-0.64.8.jar
%%DATADIR%%/ide/modules/ext/flexmark-ext-emoji-0.64.8.jar
+%%DATADIR%%/ide/modules/ext/flexmark-ext-gfm-strikethrough-0.64.8.jar
%%DATADIR%%/ide/modules/ext/flexmark-ext-gfm-tasklist-0.64.8.jar
%%DATADIR%%/ide/modules/ext/flexmark-ext-tables-0.64.8.jar
%%DATADIR%%/ide/modules/ext/flexmark-html2md-converter-0.64.8.jar
@@ -1314,7 +1315,8 @@
%%DATADIR%%/ide/modules/ext/junixsocket-native-common-2.5.1.jar
%%DATADIR%%/ide/modules/ext/langdetect.jar
%%DATADIR%%/ide/modules/ext/launcher-common-24.0.0.jar
-%%DATADIR%%/ide/modules/ext/lucene-core-3.6.2.jar
+%%DATADIR%%/ide/modules/ext/lucene-analysis-common-9.12.3.jar
+%%DATADIR%%/ide/modules/ext/lucene-core-9.12.3.jar
%%DATADIR%%/ide/modules/ext/nativeimage-24.0.0.jar
%%DATADIR%%/ide/modules/ext/opczip-1.2.0.jar
%%DATADIR%%/ide/modules/ext/org-netbeans-tax.jar
@@ -1334,7 +1336,7 @@
%%DATADIR%%/ide/modules/ext/simplevalidation-swing.jar
%%DATADIR%%/ide/modules/ext/simplevalidation.jar
%%DATADIR%%/ide/modules/ext/snakeyaml-engine.jar
-%%DATADIR%%/ide/modules/ext/toml-java-13.4.2.jar
+%%DATADIR%%/ide/modules/ext/toml-java-13.5.1.jar
%%DATADIR%%/ide/modules/ext/tomlj.jar
%%DATADIR%%/ide/modules/ext/truffle-api-24.0.0.jar
%%DATADIR%%/ide/modules/ext/truffle-compiler-24.0.0.jar
@@ -2053,11 +2055,11 @@
%%DATADIR%%/java/maven/conf/toolchains.xml
%%DATADIR%%/java/maven/lib/aopalliance-1.0.jar
%%DATADIR%%/java/maven/lib/aopalliance.license
-%%DATADIR%%/java/maven/lib/asm-9.9.jar
+%%DATADIR%%/java/maven/lib/asm-9.9.1.jar
%%DATADIR%%/java/maven/lib/asm.license
%%DATADIR%%/java/maven/lib/commons-cli-1.11.0.jar
%%DATADIR%%/java/maven/lib/commons-cli.license
-%%DATADIR%%/java/maven/lib/commons-codec-1.20.0.jar
+%%DATADIR%%/java/maven/lib/commons-codec-1.21.0.jar
%%DATADIR%%/java/maven/lib/commons-codec.license
%%DATADIR%%/java/maven/lib/error_prone_annotations-2.41.0.jar
%%DATADIR%%/java/maven/lib/error_prone_annotations.license
@@ -2076,7 +2078,7 @@
%%DATADIR%%/java/maven/lib/httpclient.license
%%DATADIR%%/java/maven/lib/httpcore-4.4.16.jar
%%DATADIR%%/java/maven/lib/httpcore.license
-%%DATADIR%%/java/maven/lib/jansi-2.4.2.jar
+%%DATADIR%%/java/maven/lib/jansi-2.4.3.jar
%%DATADIR%%/java/maven/lib/jansi.license
%%DATADIR%%/java/maven/lib/javax.annotation-api-1.3.2.jar
%%DATADIR%%/java/maven/lib/javax.annotation-api.license
@@ -2086,32 +2088,32 @@
%%DATADIR%%/java/maven/lib/jcl-over-slf4j.license
%%DATADIR%%/java/maven/lib/jspecify-1.0.0.jar
%%DATADIR%%/java/maven/lib/jspecify.license
-%%DATADIR%%/java/maven/lib/maven-artifact-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-builder-support-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-compat-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-core-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-embedder-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-model-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-model-builder-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-plugin-api-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-repository-metadata-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-api-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-connector-basic-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-impl-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-named-locks-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-provider-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-spi-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-transport-file-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-transport-http-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-transport-wagon-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-resolver-util-1.9.25.jar
-%%DATADIR%%/java/maven/lib/maven-settings-3.9.12.jar
-%%DATADIR%%/java/maven/lib/maven-settings-builder-3.9.12.jar
+%%DATADIR%%/java/maven/lib/maven-artifact-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-builder-support-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-compat-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-core-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-embedder-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-model-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-model-builder-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-plugin-api-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-repository-metadata-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-api-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-connector-basic-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-impl-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-named-locks-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-provider-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-spi-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-transport-file-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-transport-http-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-transport-wagon-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-resolver-util-1.9.27.jar
+%%DATADIR%%/java/maven/lib/maven-settings-3.9.15.jar
+%%DATADIR%%/java/maven/lib/maven-settings-builder-3.9.15.jar
%%DATADIR%%/java/maven/lib/maven-shared-utils-3.4.2.jar
-%%DATADIR%%/java/maven/lib/maven-slf4j-provider-3.9.12.jar
-%%DATADIR%%/java/maven/lib/org.eclipse.sisu.inject-0.9.0.M4.jar
+%%DATADIR%%/java/maven/lib/maven-slf4j-provider-3.9.15.jar
+%%DATADIR%%/java/maven/lib/org.eclipse.sisu.inject-1.0.0.jar
%%DATADIR%%/java/maven/lib/org.eclipse.sisu.inject.license
-%%DATADIR%%/java/maven/lib/org.eclipse.sisu.plexus-0.9.0.M4.jar
+%%DATADIR%%/java/maven/lib/org.eclipse.sisu.plexus-1.0.0.jar
%%DATADIR%%/java/maven/lib/org.eclipse.sisu.plexus.license
%%DATADIR%%/java/maven/lib/plexus-cipher-2.0.jar
%%DATADIR%%/java/maven/lib/plexus-cipher.license
@@ -2121,7 +2123,7 @@
%%DATADIR%%/java/maven/lib/plexus-interpolation.license
%%DATADIR%%/java/maven/lib/plexus-sec-dispatcher-2.0.jar
%%DATADIR%%/java/maven/lib/plexus-sec-dispatcher.license
-%%DATADIR%%/java/maven/lib/plexus-utils-3.6.0.jar
+%%DATADIR%%/java/maven/lib/plexus-utils-3.6.1.jar
%%DATADIR%%/java/maven/lib/plexus-utils.license
%%DATADIR%%/java/maven/lib/slf4j-api-1.7.36.jar
%%DATADIR%%/java/maven/lib/slf4j-api.license
@@ -2619,7 +2621,6 @@
%%DATADIR%%/licenses/MIT-validator
%%DATADIR%%/licenses/MIT-vscode
%%DATADIR%%/licenses/MIT-vscode-material-icon-theme
-%%DATADIR%%/licenses/Maven-EPL-v10
%%DATADIR%%/licenses/OSGi
%%DATADIR%%/licenses/PublicDomain-TangoProject
%%DATADIR%%/licenses/UPL
@@ -2947,7 +2948,7 @@
%%DATADIR%%/platform/lib/org-openide-util-ui.jar
%%DATADIR%%/platform/lib/org-openide-util.jar
%%DATADIR%%/platform/modules/ext/commons-io-2.18.0.jar
-%%DATADIR%%/platform/modules/ext/flatlaf-3.6.2.jar
+%%DATADIR%%/platform/modules/ext/flatlaf-3.7.1.jar
%%DATADIR%%/platform/modules/ext/hamcrest-core-1.3.jar
%%DATADIR%%/platform/modules/ext/jcommander-1.78.jar
%%DATADIR%%/platform/modules/ext/jersey2/jakarta.inject-2.6.1.jar
@@ -2960,7 +2961,7 @@
%%DATADIR%%/platform/modules/ext/junit-jupiter-params-5.10.3.jar
%%DATADIR%%/platform/modules/ext/opentest4j-1.3.0.jar
%%DATADIR%%/platform/modules/ext/org.apache.felix.main-7.0.5.jar
-%%DATADIR%%/platform/modules/ext/org.eclipse.osgi_3.9.1.nb9.jar
+%%DATADIR%%/platform/modules/ext/org.eclipse.osgi_3.9.1.nb10.jar
%%DATADIR%%/platform/modules/ext/osgi.cmpn-7.0.0.jar
%%DATADIR%%/platform/modules/ext/osgi.core-8.0.0.jar
%%DATADIR%%/platform/modules/ext/testng-6.14.3.jar
diff --git a/java/openjdk23/Makefile b/java/openjdk23/Makefile
deleted file mode 100644
index 687643b00304..000000000000
--- a/java/openjdk23/Makefile
+++ /dev/null
@@ -1,187 +0,0 @@
-PORTNAME= openjdk
-DISTVERSIONPREFIX= jdk-
-DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
-PORTREVISION= 2
-CATEGORIES= java devel
-PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
-MASTER_SITES= LOCAL/openjdk:boot
-DISTFILES= ${BOOTSTRAPJDKFILE}:boot
-
-MAINTAINER= java@FreeBSD.org
-COMMENT= Java Development Kit ${JDK_MAJOR_VERSION}
-WWW= https://openjdk.java.net/projects/jdk/23/
-
-LICENSE= GPLv2
-
-DEPRECATED= No longer supported by upstream
-EXPIRATION_DATE= 2026-05-12
-
-ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
-
-# On FreeBSD 14 and 15 the i386 build fails with a segfault in java during the
-# buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch build step.
-#
-BROKEN_FreeBSD_14_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release'
-BROKEN_FreeBSD_15_i386= Build failed for target 'images' in configuration 'bsd-x86-server-release'
-
-BUILD_DEPENDS= zip:archivers/zip \
- ${LOCALBASE}/include/cups/cups.h:print/cups \
- bash:shells/bash \
- gsed:textproc/gsed
-LIB_DEPENDS= libasound.so:audio/alsa-lib \
- libfontconfig.so:x11-fonts/fontconfig \
- libfreetype.so:print/freetype2 \
- libgif.so:graphics/giflib \
- libharfbuzz.so:print/harfbuzz \
- liblcms2.so:graphics/lcms2 \
- libpng.so:graphics/png
-RUN_DEPENDS= javavm:java/javavmwrapper \
- xorg-fonts-truetype>0:x11-fonts/xorg-fonts-truetype
-
-USES= autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg
-USE_XORG= x11 xext xi xrandr xrender xt xtst
-
-CPE_VENDOR= oracle
-
-USE_GITHUB= yes
-GH_ACCOUNT= freebsd
-GH_PROJECT= openjdk
-GH_TAGNAME= jdk-23.0.2+7-freebsd-2
-
-NO_CCACHE= yes
-
-# Suppress passing -j to do-build target via Mk/bsd.port.mk
-# In the JDK build the number of parallel jobs is passed in via configure --with-num-cores=N
-_MAKE_JOBS= #
-MAKE_ENV= CLASSPATH="" \
- JAVA_HOME="" \
- LD_LIBRARY_PATH="" \
- LOG=cmdlines \
- MAKEFLAGS="CONF_CHECK=ignore"
-
-JDK_ARCH= ${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/}
-BOOTSTRAPJDKFILE= openjdk23-23.0.2+7.2_1.${JDK_ARCH}.tar.xz
-JDK_OSARCH= bsd-${JDK_ARCH}
-JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE}
-.if defined(BUILD_JRE)
-JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jre
-.else
-JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk
-.endif
-INSTALLDIR= ${PREFIX}/${PKGBASE}
-BOOTSTRAPJDKDIR= ${WRKDIR}/boot-jdk
-
-NOPRECIOUSMAKEVARS= yes
-
-JDK_MAJOR_VERSION= 23
-JDK_MINOR_VERSION= 0
-JDK_PATCH_VERSION= 2
-JDK_BUILD_NUMBER= 7
-BSD_JDK_VERSION= 2
-
-JDK_BUG_URL= https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/${PORTNAME}${JDK_MAJOR_VERSION}%3A%20
-
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed
-CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \
- --disable-ccache \
- --disable-javac-server \
- --with-alsa=${LOCALBASE} \
- --with-cups=${LOCALBASE} \
- --with-fontconfig=${LOCALBASE} \
- --with-freetype=system \
- --with-libjpeg=system \
- --with-giflib=system \
- --with-giflib-include=${LOCALBASE}/include \
- --with-giflib-lib=${LOCALBASE}/lib \
- --with-harfbuzz=system \
- --with-libpng=system \
- --with-num-cores=${MAKE_JOBS_NUMBER} \
- --with-zlib=system \
- --with-lcms=system \
- --x-includes=${LOCALBASE}/include \
- --x-libraries=${LOCALBASE}/lib \
- --with-version-string=${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \
- --with-native-debug-symbols=none \
- --with-debug-level=release \
- --with-vendor-name="OpenJDK BSD Porting Team" \
- --with-vendor-url="https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/" \
- --with-vendor-bug-url="${JDK_BUG_URL}" \
- --with-vendor-vm-bug-url="${JDK_BUG_URL}"
-
-JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION}
-
-.if defined(BUILD_JRE)
-ALL_TARGET= legacy-images
-.else
-ALL_TARGET= images
-.endif
-JDK_BUILD_TYPE= release
-
-.include <bsd.port.pre.mk>
-
-JDK_BUILD_JVM= server
-
-MAKE_ENV+= --with-toolchain-type=${COMPILER_TYPE}
-CONFIGURE_ARGS+= --with-toolchain-type=${COMPILER_TYPE}
-CONFIGURE_ARGS+= --disable-warnings-as-errors
-
-.if ${COMPILER_TYPE} == gcc
-USE_GCC= yes
-CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
- --with-extra-cflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" \
- --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}"
-.else
-MAKE_ENV+= USE_CLANG=true
-EXTRA_CFLAGS+= -Wno-unused-but-set-parameter
-EXTRA_CFLAGS+= -Wno-bitwise-instead-of-logical
-EXTRA_CFLAGS+= -Wno-error=deprecated-non-prototype
-CONFIGURE_ARGS+= --with-extra-cflags="${EXTRA_CFLAGS}"
-CONFIGURE_ARGS+= --with-extra-cxxflags="${EXTRA_CFLAGS}"
-.endif
-
-.if ${ARCH} == aarch64
-CONFIGURE_ARGS+= --with-boot-jdk-jvmargs=-XX:-UseCompressedClassPointers --disable-dtrace
-MAKE_ENV+= JAVA_TOOL_OPTIONS="-XX:-UseCompressedClassPointers"
-.endif
-
-.if empty(ICONV_LIB)
-ICONV_CFLAGS= -DLIBICONV_PLUG
-.else
-ICONV_CFLAGS= -I${LOCALBASE}/include
-ICONV_LDFLAGS= -L${LOCALBASE}/lib
-ICONV_LIBS= ${ICONV_LIB}
-.endif
-
-post-patch:
- @${RM} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.cpp
- @${MV} ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/thread_bsd_ppc.hpp \
- ${WRKSRC}/src/hotspot/os_cpu/bsd_ppc/javaThread_bsd_ppc.hpp
-
- @${FIND} ${WRKSRC} -name '*.orig' -delete
- @${CHMOD} 755 ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
- ${WRKSRC}/configure \
- ${WRKSRC}/src/hotspot/os/bsd/os_bsd.cpp
- @${REINPLACE_CMD} -e 's|%%ICONV_CFLAGS%%|${ICONV_CFLAGS}|' \
- -e 's|%%ICONV_LDFLAGS%%|${ICONV_LDFLAGS}|' \
- -e 's|%%ICONV_LIBS%%|${ICONV_LIBS}|' \
- ${WRKSRC}/make/autoconf/libraries.m4
-
-post-build:
-.if defined(OPENJDK_SYMLINK_CACERTS)
- @${RM} ${JDK_IMAGEDIR}/lib/security/cacerts
- @${LN} -sf ${OPENJDK_SYMLINK_CACERTS} ${JDK_IMAGEDIR}/lib/security/cacerts
-.endif
-
-do-install:
- @${MKDIR} ${STAGEDIR}${INSTALLDIR}
- @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR}
- @cd ${STAGEDIR}${INSTALLDIR} && \
- ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \;
- @${CHMOD} ${BINMODE} ${STAGEDIR}${INSTALLDIR}/lib/jspawnhelper
- @${ECHO} "@javavm ${INSTALLDIR}/bin/java" >> ${TMPPLIST}
- @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \
- ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/java/openjdk23/distinfo b/java/openjdk23/distinfo
deleted file mode 100644
index 67a4eb421cfb..000000000000
--- a/java/openjdk23/distinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-TIMESTAMP = 1756989931
-SHA256 (openjdk23-23.0.2+7.2_1.aarch64.tar.xz) = 73029ace8c87b24435596465ad7091b6d5e0f8b800aa753a80c5c40a7b5e2fe4
-SIZE (openjdk23-23.0.2+7.2_1.aarch64.tar.xz) = 178064508
-SHA256 (openjdk23-23.0.2+7.2_1.ppc64.tar.xz) = c4515a0d6c8cb41ef2b38bad62bd5d2a2f692a3cb90a924758654d26734f8e43
-SIZE (openjdk23-23.0.2+7.2_1.ppc64.tar.xz) = 176905048
-SHA256 (openjdk23-23.0.2+7.2_1.ppc64le.tar.xz) = 6a98d80f60463b81d69c0988ef1aaac389a6f9e965ad3f314cffe5a8a0b40977
-SIZE (openjdk23-23.0.2+7.2_1.ppc64le.tar.xz) = 177821084
-SHA256 (openjdk23-23.0.2+7.2_1.x86_64.tar.xz) = 01774b36af41f4742e217b3e3da498d1670ef5a0b0988ccb33b15ea65bf868be
-SIZE (openjdk23-23.0.2+7.2_1.x86_64.tar.xz) = 180088312
-SHA256 (freebsd-openjdk-jdk-23.0.2+7-2-jdk-23.0.2+7-freebsd-2_GH0.tar.gz) = ec011f440f6e3f0eff1b67811a3a9fc5094be772f30519af2bfb914abaa6d666
-SIZE (freebsd-openjdk-jdk-23.0.2+7-2-jdk-23.0.2+7-freebsd-2_GH0.tar.gz) = 117311366
diff --git a/java/openjdk23/files/patch-configure b/java/openjdk23/files/patch-configure
deleted file mode 100644
index 4bc4479f5e4a..000000000000
--- a/java/openjdk23/files/patch-configure
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.orig 2019-03-12 12:38:39.648907000 -0700
-+++ configure 2019-03-12 12:39:04.275572000 -0700
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!%%LOCALBASE%%/bin/bash
- #
- # Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
- # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-@@ -32,4 +32,4 @@
- # Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
- # This trick is needed to get autoconf to co-operate properly.
- # The ${-:+-$-} construction passes on bash options.
--bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
-+%%LOCALBASE%%/bin/bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
diff --git a/java/openjdk23/files/patch-make_autoconf_flags-cflags.m4 b/java/openjdk23/files/patch-make_autoconf_flags-cflags.m4
deleted file mode 100644
index 5156c18515da..000000000000
--- a/java/openjdk23/files/patch-make_autoconf_flags-cflags.m4
+++ /dev/null
@@ -1,13 +0,0 @@
---- make/autoconf/flags-cflags.m4.orig 2020-01-08 09:12:31 UTC
-+++ make/autoconf/flags-cflags.m4
-@@ -770,6 +770,10 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
- # for all archs except arm and ppc, prevent gcc to omit frame pointer
- $1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
- fi
-+ elif test "x$OPENJDK_TARGET_OS_ENV" = xbsd.freebsd; then
-+ if test "x$FLAGS_CPU" = xppc64; then
-+ $1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=powerpc64 -mtune=power5"
-+ fi
- fi
-
- elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
diff --git a/java/openjdk23/files/patch-make_autoconf_help.m4 b/java/openjdk23/files/patch-make_autoconf_help.m4
deleted file mode 100644
index 6581b3fef247..000000000000
--- a/java/openjdk23/files/patch-make_autoconf_help.m4
+++ /dev/null
@@ -1,11 +0,0 @@
---- make/autoconf/help.m4.orig 2025-05-24 21:54:30 UTC
-+++ make/autoconf/help.m4
-@@ -269,7 +269,7 @@ AC_DEFUN_ONCE([HELP_PRINT_SUMMARY_AND_WARNINGS],
- fi
- fi
- if test "x$CONFIGURE_COMMAND_LINE" != x; then
-- printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
-+ printf "using configure arguments '%s'.\n" "$CONFIGURE_COMMAND_LINE"
- else
- printf "using default settings.\n"
- fi
diff --git a/java/openjdk23/files/patch-make_autoconf_libraries.m4 b/java/openjdk23/files/patch-make_autoconf_libraries.m4
deleted file mode 100644
index 0911464a6522..000000000000
--- a/java/openjdk23/files/patch-make_autoconf_libraries.m4
+++ /dev/null
@@ -1,15 +0,0 @@
---- make/autoconf/libraries.m4~ 2019-08-12 19:10:36.292217000 -0700
-+++ make/autoconf/libraries.m4 2019-08-12 19:18:15.523606000 -0700
-@@ -188,9 +188,9 @@
- ICONV_LDFLAGS="-L/usr/local/lib"
- ICONV_LIBS=-liconv
- elif test "x$OPENJDK_TARGET_OS_ENV" = "xbsd.freebsd"; then
-- ICONV_CFLAGS=-DLIBICONV_PLUG
-- ICONV_LDFLAGS=
-- ICONV_LIBS=
-+ ICONV_CFLAGS=%%ICONV_CFLAGS%%
-+ ICONV_LDFLAGS=%%ICONV_LDFLAGS%%
-+ ICONV_LIBS=%%ICONV_LIBS%%
- else
- ICONV_CFLAGS=
- ICONV_LDFLAGS=
diff --git a/java/openjdk23/files/patch-src_hotspot_os_bsd_os__bsd.cpp b/java/openjdk23/files/patch-src_hotspot_os_bsd_os__bsd.cpp
deleted file mode 100644
index 402f0f475bc3..000000000000
--- a/java/openjdk23/files/patch-src_hotspot_os_bsd_os__bsd.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/hotspot/os/bsd/os_bsd.cpp.orig 2021-09-29 21:25:10 UTC
-+++ src/hotspot/os/bsd/os_bsd.cpp
-@@ -361,7 +361,7 @@
- #elif defined(__NetBSD__)
- #define DEFAULT_LIBPATH "/usr/lib:/usr/pkg/lib"
- #else
-- #define DEFAULT_LIBPATH "/usr/lib:/usr/local/lib"
-+ #define DEFAULT_LIBPATH "/usr/lib:%%LOCALBASE%%/lib"
- #endif
- #else
- #define DEFAULT_LIBPATH OVERRIDE_LIBPATH
diff --git a/java/openjdk23/files/patch-src_jdk.jdwp.agent_unix_native_libjdwp_exec__md.c b/java/openjdk23/files/patch-src_jdk.jdwp.agent_unix_native_libjdwp_exec__md.c
deleted file mode 100644
index 80ae4c90cdf7..000000000000
--- a/java/openjdk23/files/patch-src_jdk.jdwp.agent_unix_native_libjdwp_exec__md.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c.orig 2025-06-27 12:18:08 UTC
-+++ src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
-@@ -70,6 +70,9 @@ closeDescriptors(void)
- int
- closeDescriptors(void)
- {
-+#if defined(__FreeBSD__)
-+ closefrom(STDERR_FILENO + 1);
-+#else
- DIR *dp;
- struct dirent *dirp;
- /* leave out standard input/output/error descriptors */
-@@ -114,6 +117,7 @@ closeDescriptors(void)
-
- (void)closedir(dp);
-
-+#endif
- return 1; // success
- }
-
diff --git a/java/openjdk23/pkg-descr b/java/openjdk23/pkg-descr
deleted file mode 100644
index b6e6b7ef9308..000000000000
--- a/java/openjdk23/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-FreeBSD port of OpenJDK 23
-
-This version of the port passes basic smoke testing. It has been successfully
-built on some combinations of FreeBSD 13 and 14 for the aarch64 and amd64
-architectures.
-
-Although these are untested, it may also build on other recent FreeBSD releases
-for the x86 and powerpc64 architectures.
diff --git a/java/openjdk23/pkg-message b/java/openjdk23/pkg-message
deleted file mode 100644
index c072654ad070..000000000000
--- a/java/openjdk23/pkg-message
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: install
- message: <<EOM
-This OpenJDK implementation may require procfs(5) mounted on /proc.
-
-If you have not done it yet, please do the following:
-
- mount -t procfs proc /proc
-
-To make it permanent, you need the following lines in /etc/fstab:
-
- proc /proc procfs rw 0 0
-EOM
-}
-]
diff --git a/java/visualvm/Makefile b/java/visualvm/Makefile
index 128bbaac7b8f..c1acc0510802 100644
--- a/java/visualvm/Makefile
+++ b/java/visualvm/Makefile
@@ -1,6 +1,5 @@
PORTNAME= visualvm
-DISTVERSION= 2.1.9
-PORTREVISION= 2
+DISTVERSION= 2.2.1
CATEGORIES= java devel
MASTER_SITES= https://github.com/oracle/visualvm/releases/download/${PORTVERSION}/
DISTNAME= visualvm_${PORTVERSION:S/.//g}
diff --git a/java/visualvm/distinfo b/java/visualvm/distinfo
index 65b2eb49137d..212949c6e5dd 100644
--- a/java/visualvm/distinfo
+++ b/java/visualvm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744302970
-SHA256 (visualvm_219.zip) = 5c7ab5fb916b63a39233ee68d8bd8f453811785db5bbf2fc05d9d26bddc30b71
-SIZE (visualvm_219.zip) = 22714308
+TIMESTAMP = 1780082699
+SHA256 (visualvm_221.zip) = 6884c908c9e10a959dea8e7b168b496515c0310d6b86a35ce96b8197231f4ef3
+SIZE (visualvm_221.zip) = 23247561
diff --git a/java/visualvm/pkg-plist b/java/visualvm/pkg-plist
index dd086a97cbcf..24d234a5e709 100644
--- a/java/visualvm/pkg-plist
+++ b/java/visualvm/pkg-plist
@@ -75,9 +75,9 @@ share/applications/visualvm.desktop
%%DATADIR%%/platform/config/Modules/org-openide-nodes.xml
%%DATADIR%%/platform/config/Modules/org-openide-text.xml
%%DATADIR%%/platform/config/Modules/org-openide-windows.xml
-%%DATADIR%%/platform/core/asm-9.5.jar
-%%DATADIR%%/platform/core/asm-commons-9.5.jar
-%%DATADIR%%/platform/core/asm-tree-9.5.jar
+%%DATADIR%%/platform/core/asm-9.7.jar
+%%DATADIR%%/platform/core/asm-commons-9.7.jar
+%%DATADIR%%/platform/core/asm-tree-9.7.jar
%%DATADIR%%/platform/core/core-base.jar
%%DATADIR%%/platform/core/core.jar
%%DATADIR%%/platform/core/org-netbeans-libs-asm.jar
@@ -88,15 +88,17 @@ share/applications/visualvm.desktop
%%DATADIR%%/platform/lib/org-openide-util-lookup.jar
%%DATADIR%%/platform/lib/org-openide-util-ui.jar
%%DATADIR%%/platform/lib/org-openide-util.jar
-%%DATADIR%%/platform/modules/ext/flatlaf-3.1.jar
-%%DATADIR%%/platform/modules/ext/jna-5.12.1.jar
-%%DATADIR%%/platform/modules/ext/jna-platform-5.12.1.jar
+%%DATADIR%%/platform/modules/ext/flatlaf-3.3.jar
+%%DATADIR%%/platform/modules/ext/jna-5.14.0.jar
+%%DATADIR%%/platform/modules/ext/jna-platform-5.14.0.jar
%%DATADIR%%/platform/modules/ext/updater.jar
%%DATADIR%%/platform/modules/lib/aarch64/libjnidispatch-nb.jnilib
%%DATADIR%%/platform/modules/lib/aarch64/linux/libjnidispatch-nb.so
%%DATADIR%%/platform/modules/lib/amd64/linux/libjnidispatch-nb.so
%%DATADIR%%/platform/modules/lib/i386/linux/libjnidispatch-nb.so
%%DATADIR%%/platform/modules/lib/libflatlaf-linux-x86_64.so
+%%DATADIR%%/platform/modules/lib/libflatlaf-macos-arm64.dylib
+%%DATADIR%%/platform/modules/lib/libflatlaf-macos-x86_64.dylib
%%DATADIR%%/platform/modules/lib/riscv64/linux/libjnidispatch-nb.so
%%DATADIR%%/platform/modules/lib/x86_64/libjnidispatch-nb.jnilib
%%DATADIR%%/platform/modules/org-netbeans-api-annotations-common.jar
@@ -265,7 +267,8 @@ share/applications/visualvm.desktop
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-lib-profiler.xml
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-lib-ui.xml
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-modules-appui.xml
-%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-modules-nashorn-jdk15.xml
+%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-modules-killapp.xml
+%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-nashorn-jdk15.xml
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-pluginimporter.xml
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-profiler.xml
%%DATADIR%%/visualvm/config/Modules/org-graalvm-visualvm-profiling.xml
@@ -300,19 +303,20 @@ share/applications/visualvm.desktop
%%DATADIR%%/visualvm/lib/deployed/jdk16/windows/profilerinterface.map
%%DATADIR%%/visualvm/lib/jfluid-server-15.jar
%%DATADIR%%/visualvm/lib/jfluid-server.jar
-%%DATADIR%%/visualvm/modules/ext/asm-util-9.5.jar
+%%DATADIR%%/visualvm/modules/ext/asm-util-9.7.jar
%%DATADIR%%/visualvm/modules/ext/common-8.3.1.jar
%%DATADIR%%/visualvm/modules/ext/encoder-1.2.3.jar
%%DATADIR%%/visualvm/modules/ext/flightrecorder-8.3.1.jar
%%DATADIR%%/visualvm/modules/ext/locale/updater_visualvm.jar
-%%DATADIR%%/visualvm/modules/ext/lz4-java-1.8.0.jar
-%%DATADIR%%/visualvm/modules/ext/nashorn-core-15.4.jar
+%%DATADIR%%/visualvm/modules/ext/lz4-java-1.10.3.jar
+%%DATADIR%%/visualvm/modules/ext/nashorn-core-15.6.jar
%%DATADIR%%/visualvm/modules/ext/profilerprobe.jar
%%DATADIR%%/visualvm/modules/ext/stagent.jar
%%DATADIR%%/visualvm/modules/locale/org-netbeans-core-windows_visualvm.jar
%%DATADIR%%/visualvm/modules/locale/org-netbeans-core_visualvm.jar
%%DATADIR%%/visualvm/modules/locale/org-netbeans-modules-autoupdate-ui_visualvm.jar
%%DATADIR%%/visualvm/modules/locale/org-netbeans-modules-profiler_visualvm.jar
+%%DATADIR%%/visualvm/modules/locale/org-netbeans-swing-laf-flatlaf_visualvm.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-api-caching.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-application-views.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-application.jar
@@ -348,7 +352,8 @@ share/applications/visualvm.desktop
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-lib-profiler.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-lib-ui.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-modules-appui.jar
-%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-modules-nashorn-jdk15.jar
+%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-modules-killapp.jar
+%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-nashorn-jdk15.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-pluginimporter.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-profiler.jar
%%DATADIR%%/visualvm/modules/org-graalvm-visualvm-profiling.jar
@@ -393,7 +398,8 @@ share/applications/visualvm.desktop
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-lib-profiler.xml
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-lib-ui.xml
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-modules-appui.xml
-%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-modules-nashorn-jdk15.xml
+%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-modules-killapp.xml
+%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-nashorn-jdk15.xml
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-modules-startup.xml
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-pluginimporter.xml
%%DATADIR%%/visualvm/update_tracking/org-graalvm-visualvm-profiler.xml
diff --git a/java/wildfly/Makefile b/java/wildfly/Makefile
index 9cbcfadaae6f..0569e75b5e8d 100644
--- a/java/wildfly/Makefile
+++ b/java/wildfly/Makefile
@@ -1,6 +1,5 @@
PORTNAME= wildfly
-DISTVERSION= 39.0.1
-PORTREVISION= 2
+DISTVERSION= 40.0.0
CATEGORIES= java www
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${WILDFLY_VERSION}/
DISTNAME= wildfly-${WILDFLY_VERSION}
@@ -12,7 +11,7 @@ WWW= https://wildfly.org/
LICENSE= GPLv2
USES= java
-JAVA_VERSION= 17+
+JAVA_VERSION= 21+
USE_RC_SUBR= wildfly
NO_BUILD= yes
diff --git a/java/wildfly/distinfo b/java/wildfly/distinfo
index f78a4aeb20ec..c43984173da7 100644
--- a/java/wildfly/distinfo
+++ b/java/wildfly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771761124
-SHA256 (wildfly-39.0.1.Final.tar.gz) = 30ce0874378d1100289d4820fce1f7646ab1278f8c30c7ae9bb84c16cbd510cb
-SIZE (wildfly-39.0.1.Final.tar.gz) = 259267248
+TIMESTAMP = 1779699786
+SHA256 (wildfly-40.0.0.Final.tar.gz) = 6b75f6de39dcf7e94b96f82006b96ec257b6358fc769a29d9817284c31c1e793
+SIZE (wildfly-40.0.0.Final.tar.gz) = 262173095