pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/openjdk17



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Nov 15 12:15:13 UTC 2025

Modified Files:
        pkgsrc/lang/openjdk17: Makefile distinfo
        pkgsrc/lang/openjdk17/patches:
            patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp
Added Files:
        pkgsrc/lang/openjdk17/patches:
            patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c
Removed Files:
        pkgsrc/lang/openjdk17/patches: patch-make_autoconf_build-performance.m4
            patch-src_hotspot_os__cpu_bsd__aarch64_os__bsd__aarch64.cpp
            patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp
            patch-src_java.desktop_unix_native_libpipewire_include_spa_utils_endian.h

Log Message:
lang/openjdk17: Update to 1.17.0.17.10

Changelog:
Updated BSD port of JDK 17

Additional features include:

    Update to 17.0.17 GA


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/lang/openjdk17/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/lang/openjdk17/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/openjdk17/patches/patch-make_autoconf_build-performance.m4 \
    pkgsrc/lang/openjdk17/patches/patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp \
    pkgsrc/lang/openjdk17/patches/patch-src_java.desktop_unix_native_libpipewire_include_spa_utils_endian.h
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp
cvs rdiff -u -r1.5 -r0 \
    pkgsrc/lang/openjdk17/patches/patch-src_hotspot_os__cpu_bsd__aarch64_os__bsd__aarch64.cpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/openjdk17/patches/patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/openjdk17/Makefile
diff -u pkgsrc/lang/openjdk17/Makefile:1.39 pkgsrc/lang/openjdk17/Makefile:1.40
--- pkgsrc/lang/openjdk17/Makefile:1.39 Thu Oct 23 20:38:05 2025
+++ pkgsrc/lang/openjdk17/Makefile      Sat Nov 15 12:15:13 2025
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.39 2025/10/23 20:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2025/11/15 12:15:13 ryoon Exp $
 
 DISTNAME=      jdk17u-${GITHUB_TAG:C/\+/-/}
 PKGNAME=       openjdk17-1.${GITHUB_TAG:C/\+/./:C/jdk-([.0-9]+).*/\1/}
-PKGREVISION=   3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=battleblow/}
 GITHUB_PROJECT=        jdk17u
-GITHUB_TAG=    jdk-17.0.16+8-1
+GITHUB_TAG=    jdk-17.0.17+10-1
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://openjdk.java.net/

Index: pkgsrc/lang/openjdk17/distinfo
diff -u pkgsrc/lang/openjdk17/distinfo:1.25 pkgsrc/lang/openjdk17/distinfo:1.26
--- pkgsrc/lang/openjdk17/distinfo:1.25 Tue Oct  7 14:14:58 2025
+++ pkgsrc/lang/openjdk17/distinfo      Sat Nov 15 12:15:13 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2025/10/07 14:14:58 ryoon Exp $
+$NetBSD: distinfo,v 1.26 2025/11/15 12:15:13 ryoon Exp $
 
 BLAKE2s (bootstrap-jdk-1.17.0.15.6-netbsd-9-aarch64-20250806.tar.xz) = cd7cd0c0acc259f55291932fc679388003c3c108257f08f660d328974b764ee5
 SHA512 (bootstrap-jdk-1.17.0.15.6-netbsd-9-aarch64-20250806.tar.xz) = 26003c0ace59f41b03584ae0bbe79b15041d4c3537d5d4227a3396276943ff95d687de0aa5025b5dddb1d91cf33ffbc7fd57d7cc8de70aef53907fa2c2652811
@@ -12,10 +12,9 @@ Size (bootstrap-jdk-1.17.0.3.7-netbsd-9-
 BLAKE2s (bootstrap-jdk-1.17.0.3.7-netbsd-9-i386-20220515.tar.xz) = a8e6a44e1470cf2e8845f6b5a6edff142d06c76e12a793b5991b1bf05cf36a98
 SHA512 (bootstrap-jdk-1.17.0.3.7-netbsd-9-i386-20220515.tar.xz) = 9fc54d9a31270cbec5e0454bbf1ddf3bb99ab5c916660e1f5e89163b384368a7f1fd5311db71b21c1638eb916899199a1080e90cc1f9615bfdbd871bb94a3216
 Size (bootstrap-jdk-1.17.0.3.7-netbsd-9-i386-20220515.tar.xz) = 103902136 bytes
-BLAKE2s (jdk17u-jdk-17.0.16-8-1.tar.gz) = 024eb26c7465c1f1c83582c5941e9de933ceabbeddd95caa51547bd024fbb99e
-SHA512 (jdk17u-jdk-17.0.16-8-1.tar.gz) = 47cf7e655062afbae87196406533737a58958aa90b5a8da7931c78a0fc477d6552eba710826d5fd1dff10c46f724f438f9675080a8f1485943266ca364763922
-Size (jdk17u-jdk-17.0.16-8-1.tar.gz) = 107976153 bytes
-SHA1 (patch-make_autoconf_build-performance.m4) = 1617779af212d6c7f8ffba19c9cb45554392b714
+BLAKE2s (jdk17u-jdk-17.0.17-10-1.tar.gz) = 853cab5016efd6b062966cde6e31419233b4449c6c028639466727ecbdfe371a
+SHA512 (jdk17u-jdk-17.0.17-10-1.tar.gz) = 274928c823a1b2b36a3d833c8b8576c55cd2c4a7e5a3d25b32a3062664d9cc0255a0583f55160fef4ece58833779eef21e57ec6ef26a86b1d09863cf49d5d6b4
+Size (jdk17u-jdk-17.0.17-10-1.tar.gz) = 108082578 bytes
 SHA1 (patch-make_autoconf_buildjdk-spec.gmk.in) = 01b6ac6dae1a886949020b9d472aab1e357084b0
 SHA1 (patch-make_autoconf_flags-cflags.m4) = 2777471821988895f5ae1be33b1c92b7386b068a
 SHA1 (patch-make_autoconf_hotspot.m4) = 6370c6cb2a3f225c502e7916342104cf1288f4cf
@@ -26,16 +25,14 @@ SHA1 (patch-make_autoconf_lib-x11.m4) = 
 SHA1 (patch-make_data_fontconfig_bsd.fontconfig.properties) = 3172d8d76e0e79b127605429fb70dccd164b33c8
 SHA1 (patch-make_lib_Awt2dLibraries.gmk) = d69fa8c5cab173be2f41cfbd6479dad60a6337db
 SHA1 (patch-src_hotspot_cpu_aarch64_frame__aarch64.hpp) = 263be050505100a9ff37d75e2aa465e0ffb04d68
-SHA1 (patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp) = 8e9bcae8bf94e316618b4086590e2a9fa99a5ed9
+SHA1 (patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp) = 9a60a93df8415727c8cefedaf177fe29f67a1726
 SHA1 (patch-src_hotspot_cpu_aarch64_macroAssembler__aarch64.cpp) = 0b720cdfef884368432b818bb56648b462539125
 SHA1 (patch-src_hotspot_cpu_aarch64_macroAssembler__aarch64.hpp) = 301d16361542eec9123b9a4cf0a64978cc863ed6
 SHA1 (patch-src_hotspot_cpu_aarch64_sharedRuntime__aarch64.cpp) = 248188cc49cfca7fb26b907525f19b9cec5caffd
 SHA1 (patch-src_hotspot_cpu_aarch64_stubGenerator__aarch64.cpp) = 146a6ab00271395ddfdb42bf50375ec6c1bfd18c
 SHA1 (patch-src_hotspot_cpu_aarch64_templateInterpreterGenerator__aarch64.cpp) = 1a017334bdab5717ea2aaf4ae77a1e3974ebee0e
-SHA1 (patch-src_hotspot_os__cpu_bsd__aarch64_os__bsd__aarch64.cpp) = 86d793892426979625437ffe7634ce4b4ea93e4b
-SHA1 (patch-src_hotspot_os__cpu_bsd__x86_os__bsd__x86.cpp) = 7cdc5a746ab26df5b2be98b0d254e6018dc96fda
 SHA1 (patch-src_hotspot_os_bsd_os__bsd.cpp) = 5561ed502aa925cd3d0514c7ec298e0491d14ffc
 SHA1 (patch-src_hotspot_share_runtime_threadWXSetters.inline.hpp) = f704bb060803e500415b5d300e26857cf7288ca5
 SHA1 (patch-src_java.desktop_unix_native_common_awt_fontpath.c) = d7bd8839ecd84459fbd3e7d14ac0e2f48b8b4032
-SHA1 (patch-src_java.desktop_unix_native_libpipewire_include_spa_utils_endian.h) = 7b40072b374a6af92adc732f0e24c52bca84ed61
 SHA1 (patch-src_java.desktop_unix_native_libpipewire_include_spa_utils_string.h) = 56090e5f992171db874a1427e8b2905da017fa3c
+SHA1 (patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c) = ca36f0e40f55f2779a70eb7f32cc2d17d79b9cef

Index: pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp
diff -u pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp:1.1 pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp:1.2
--- pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp:1.1        Wed Aug  6 08:47:15 2025
+++ pkgsrc/lang/openjdk17/patches/patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp    Sat Nov 15 12:15:13 2025
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp,v 1.1 2025/08/06 08:47:15 pho Exp $
+$NetBSD: patch-src_hotspot_cpu_aarch64_jniFastGetField__aarch64.cpp,v 1.2 2025/11/15 12:15:13 ryoon Exp $
 
 Workaround for the Hotspot VM dying on Apple Silicon chips. See
 the patch to threadWXSetters.inline.hpp for details.
 
---- src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp.orig   2025-04-19 18:17:03.000000000 +0000
+--- src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp.orig   2025-11-01 06:28:57.000000000 +0000
 +++ src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp
 @@ -32,6 +32,7 @@
  #include "prims/jvm_misc.hpp"
@@ -13,28 +13,3 @@ the patch to threadWXSetters.inline.hpp 
  #include "runtime/threadWXSetters.inline.hpp"
  
  #define __ masm->
-@@ -58,8 +59,6 @@ static const Register result        = r7
- // (8262896).  So each FastGetXXXField is wrapped into a C++ statically
- // compiled template function that optionally switches to WXExec if necessary.
- 
--#ifdef __APPLE__
--
- static address generated_fast_get_field[T_LONG + 1 - T_BOOLEAN];
- 
- template<int BType> struct BasicTypeToJni {};
-@@ -86,15 +85,6 @@ address JNI_FastGetField::generate_fast_
-   return (address)static_fast_get_field_wrapper<BType>;
- }
- 
--#else // __APPLE__
--
--template<int BType>
--address JNI_FastGetField::generate_fast_get_int_field1() {
--  return generate_fast_get_int_field0((BasicType)BType);
--}
--
--#endif // __APPLE__
--
- address JNI_FastGetField::generate_fast_get_int_field0(BasicType type) {
-   const char *name;
-   switch (type) {

Added files:

Index: pkgsrc/lang/openjdk17/patches/patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c
diff -u /dev/null pkgsrc/lang/openjdk17/patches/patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c:1.1
--- /dev/null   Sat Nov 15 12:15:13 2025
+++ pkgsrc/lang/openjdk17/patches/patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c        Sat Nov 15 12:15:13 2025
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_jdk.attach_bsd_native_libattach_VirtualMachineImpl.c,v 1.1 2025/11/15 12:15:13 ryoon Exp $
+
+--- src/jdk.attach/bsd/native/libattach/VirtualMachineImpl.c.orig      2025-11-01 06:28:57.000000000 +0000
++++ src/jdk.attach/bsd/native/libattach/VirtualMachineImpl.c
+@@ -31,7 +31,9 @@
+ #include <sys/sysctl.h>
+ #include <sys/types.h>
+ #include <sys/un.h>
++#if !defined(__NetBSD__)
+ #include <sys/user.h>
++#endif
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <signal.h>
+@@ -163,8 +165,8 @@ JNIEXPORT jboolean JNICALL Java_sun_tool
+     */
+ 
+     if (sysctl(mib, sizeof(mib) / sizeof(int), &kiproc, &kipsz, NULL, 0) == 0) {
+-        const bool ignored = sigismember(&kiproc.KI_SIGIGNORE, SIGQUIT) != 0;
+-        const bool caught  = sigismember(&kiproc.KI_SIGCATCH, SIGQUIT)  != 0;
++        const bool ignored = sigismember((sigset_t *)(&kiproc.KI_SIGIGNORE), SIGQUIT) != 0;
++        const bool caught  = sigismember((sigset_t *)(&kiproc.KI_SIGCATCH), SIGQUIT)  != 0;
+ 
+         // note: obviously the masks could change between testing and signalling however this is not the
+         // observed behavior of the current JVM implementation.



Home | Main Index | Thread Index | Old Index