The default boot jdk for jdk10 is still 8GA. This jdk is known not to
run on newer sparc hardware, which was addressed for generation 7 in
JDK-8176271 and JDK-8162354. Now we need to run on the gen 8 chips and
are facing the same issue.
Bug: https://bugs.openjdk.java.net/browse/JDK-8181788
Patch:
diff -r 6b750cdb823a common/conf/jib-profiles.js
--- a/common/conf/jib-profiles.js
+++ b/common/conf/jib-profiles.js
@@ -387,7 +387,7 @@
// on such hardware.
if (input.build_cpu == "sparcv9") {
var cpu_brand = $EXEC("bash -c \"kstat -m cpu_info | grep brand
| head -n1 | awk '{ print \$2 }'\"");
- if (cpu_brand.trim().match('SPARC-.7')) {
+ if (cpu_brand.trim().match('SPARC-.[78]')) {
boot_jdk_revision = "8u20";
boot_jdk_subdirpart = "1.8.0_20";
}
/Erik