1 This is originally derived from the pkgsrc-joyent set for openjdk11,
2 considerably modified. Cut from the jdk15 patches as of jdk15+32.
4 See also README-zero.txt for note on a project zero variant.
6 JDK 22 now switched to the jdk22 stabilisation repo
10 Removed last remnants of extended_FILE_stdio, it's unused as 32-bit
11 only, and the code to enable it had already been removed.
13 Remove local copies of os::dont_yield() os::naked_yield()
15 Centralization of breakpoint()
17 Cleanup: switch to SolarisEventPortPoller
21 Fixed the patch for src/java.base/unix/classes/java/lang/ProcessImpl.java
22 which fixes the startup hang in jshell and illuminate (and hopefully
23 the minecraft reports)
27 New undefined symbol os::pd_dll_unload; copy the implementation from
30 Cleanup: missed the dropping of TIERED in 17+8, it's now
31 COMPILER1_AND_COMPILER2
41 Tidied up the fatal(dlerror()) warning.
43 22+28, 22+29, 22+30, 22+31, 22+32
51 Switch to jdk22 stabilisation repo
55 Don't patch make/autoconf/spec.gmk.in any more, the variable added is
58 os::scan_pages() has been removed
60 os::prepare_native_symbols() has been added, provide a no-op implementation
62 Cleanup: we always have dladdr1() on all supported releases, so don't
63 check for it or work around its potential absence
67 Revised illumos-pollerprovider.patch for signature change in
68 EPollPoller.implDeregister()
76 Signature change in DefaultPoller.java, the whole of Poller has been
77 reworked. As our DevPollPoller was a stub and never worked, delete and
78 replace with a copy of EPollPoller from Linux:
80 cp src/java.base/linux/classes/sun/nio/ch/EPoll* src/java.base/solaris/classes/sun/nio/ch
81 cp src/java.base/linux/classes/sun/nio/ch/EventFD.java src/java.base/solaris/classes/sun/nio/ch
82 cp src/java.base/linux/native/libnio/ch/EPoll.c src/java.base/solaris/native/libnio/ch/EPoll.c
84 See revised illumos-pollerprovider.patch
88 memTracker was moved from src/hotspot/share/services to
97 Larger changes to src/java.base/unix/native/libnet/net_util_md.c
99 Need to #include sys/filio.h in
100 src/java.base/unix/native/libnio/ch/Net.c so that FIONREAD is defined
108 Boot jdk bumped to 21
112 With the removal of ArrayAllocatorMallocLimit, don't patch
113 globals.hpp, and remove the comment-only hunk too.
115 os::numa_get_leaf groups signature change
123 New function os::vm_min_address() needs an implementation. Provide a
130 #include "utilities/checkedCast.hpp" in os_solaris.cpp
132 current_stack_base() and current_stack_size() have been merged into a
133 single current_stack_base_and_size()
135 As we make some use of the old functions, move them into os::Solaris,
136 and implement the new merged function by calling them.
140 Remove AttachListener::pd_set_flag()
144 Remove AttachListener::pd_find_operation()
145 Merge and delete tribblix-attachListener_solaris.patch
153 Fix zero port; see Atomic and print_register_info change in jdk 21+23
155 Needed to add stubs for can_trim_native_heap() and trim_native_heap()
156 to os_solaris.inline.hpp
165 Dropped the old make/autoconf/lib-freetype.m4 patch, as it's
167 Fix format warning in print_memory_info()
179 Some patch noise, especially Awt2dLibraries.gmk and static linking.
183 No changes needed, identical to 21+26.
187 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \
188 --enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk21 \
189 --with-native-debug-symbols=none \
190 --with-toolchain-type=gcc \
192 --disable-warnings-as-errors \
193 --with-source-date=current \
195 DATE=/usr/gnu/bin/date \
196 STRIP=/usr/gnu/bin/strip
198 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all