Andreas Wacknitz
2024-04-09 7bea32fd382fe993229cd2db29c3a13cb8138b09
commit | author | age
4e1fe8 1 This is originally derived from the pkgsrc-joyent set for openjdk11,
NP 2 considerably modified. Cut from the jdk15 patches as of jdk15+32.
3
4 See also README-zero.txt for patches to build a project zero variant.
5
6 Most patches -p0
7
8 Forked off into the jdk18 repo; mainline is now jdk19.
9
10 18.0.2
11
12 Build broken by https://www.illumos.org/issues/14418. That did 2
13 things -  (1) exposed memcntl and meminfo by default, and (2) changed
14 the signature for memcntl from caddr_t to void so there's a
15 mismatch. The fix adopted is to modify the internal java signature for
16 memcntl to the new version, which still allows builds on older
17 releases as the old definition in sys/mman.h was effectively invisible
18 there.
19
20 JDK18:
21
22 Remove some unnecessary patches
23 src/java.base/unix/native/libjli/java_md.h
24  - new comment is good
25 src/java.desktop/unix/native/common/awt/fontpath.c
26  - shouldn't need to check for SunOS 5.8/5.9
27 Remove HS_DTRACE_WORKAROUND_TAIL_CALL_BUG, the bug it works around
28   was fixed in 2008
29 Remove remaining SUNPRO and related MLIB_NO_LIBSUNMATH checks
30 src/java.desktop/unix/native/common/awt/X11Color.c
31  - the complexity is over 20 years old and no longer relevant
32 make/autoconf/flags-cflags.m4
33  - adding -DTRIMMED is useless
34 src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
35  - unnecessary on illumos and current Solaris (and my S10 system too)
36 use the 64-bit rdtsc variant
37
38 18-29,18-30,18-31,18-32,18-33,18-34,18-35,18-36,18-37
39
40 No changes necessary
41
42 18-28
43
44 Now from jdk18 repo, should be in stabilisation phase.
45 Package it also now we've got this far.
46
47 Tidy ups:
48 Remove STLPORT, GLOBAL_LIBS (Studio remnants)
49
50 18-26, 18-27
51
52 Tiny amount of patch noise
53
54 18-25
55
56 Minor patch noise. The Foreign Function & Memory incubator doesn't
57 seem to have broken anything.
58
59 18-24
60
61 Add the 3 extra patches from omnios that fix up the signal handling
62 and remove the SIGSEGV warnings.
63
64 Tidy up, remove SPARC_WORKS
65
66 18-23
67
68 Fix src/hotspot/share/cds/classListParser.cpp
69
70 18-22
71
72 Tiny amount of patch noise
73
74 18-21
75
76 Tidy up prefetch_solaris_x86.inline.hpp
77
78 18-20
79
80 Tiny amount of patch noise
81
82 18-19
83
84 CDS header, moved one level down under _generic_header
85
86 18-18
87
88 os::get_default_process_handle() and os::dll_lookup() moved to posix
89
90 18-17
91
92 There's a Mac-specific change around vfork in
93 src/java.base/unix/native/libjava/ProcessImpl_md.c
94 I've temporarily simply switched the new __APPLE__ guard for the
95 __solaris__ one we had previously; this probably needs closer inspection.
96
97 The boot jdk needs to be 17 now.
98
99 A number of time related functions have been centralized into os_posix
100
101 18-16
102
103 os::have_special_privileges has been moved to posix
104
105 18-15
106
107 cgc_thread and pgc_thread merged into a single gc_thread.
108 Fixed a typo in the PLATFORM_API_SolarisOS_PCM.c fix.
109
110 18-14
111
112 src/java.desktop/share/classes/sun/font/TrueTypeGlyphMapper.java patch
113 wouldn't apply; I can't see why Solaris would need to be egregiously
114 different here so removed the patch.
115
116 Cleaned up a warning in PLATFORM_API_SolarisOS_PCM.c
117
118 18-13
119
120 A little patch noise.
121
122 18-12
123
124 Fix src/jdk.jlink/share/classes/jdk/tools/jlink/internal/Platform.java
125
126 18-10, 18-11
127
128 No changes
129
130 18-9
131
132 ResolverConfigurationImpl.java uses ArrayList, not LinkedList
133
134 18-8
135
136 A little patch noise.
137
138 18-7
139
140 Remove unused create_detachall_operation() that the build keeps
141 complaining about.
142
143 18-6
144
145 A bunch of Socket stuff appears to have been removed.
146
147 18-5
148
149 Remove os::bind_to_processor
150
151 18-4
152
153 A little patch noise.
154
155 The linker check has been hardened. It was always done wrong (it's using
156 gcc to get the linker version when it's actually looking for the as
157 version), but it now needs working around. We have the right assembler
158 in any case.
159
160 18-1, 18-2
161
162 No changes
163
164 18-0
165
166 rename bytes_solaris_x86.inline.hpp to bytes_solaris_x86.hpp
167 rename copy_solaris_x86.inline.hpp to copy_solaris_x86.hpp
168
169 Build:
170
171 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \
172 --enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk17 \
173 --with-native-debug-symbols=none \
174 --with-toolchain-type=gcc \
175 --disable-dtrace \
176 --disable-warnings-as-errors \
177 --enable-deprecated-ports=yes \
178 --with-jobs=3
179
180 env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all