jdk8u-dev MacOS 10.15+ build environment?

Hohensee, Paul hohensee at amazon.com
Wed Apr 28 20:36:43 UTC 2021

Restarting this thread. We at Amazon have been building 8u using Xcode 12 for some months, see Ben Taylor's post


so that’s what we'd like to see targeted. Several backports have already been done (8200550, 8230428, 8077364, 8055754, 8033289) and another is tagged (8253375).


-----Original Message-----
From: jdk8u-dev <jdk8u-dev-retn at openjdk.java.net> on behalf of Andrew Hughes <gnu.andrew at redhat.com>
Date: Tuesday, March 16, 2021 at 8:42 PM
To: Simon Tooke <stooke at redhat.com>
Cc: "jdk8u-dev at openjdk.java.net" <jdk8u-dev at openjdk.java.net>
Subject: RE: jdk8u-dev MacOS 10.15+ build environment?

On 08:24 Mon 15 Mar     , Simon Tooke wrote:
> On 2021-03-15 7:19 a.m., Andrew Haley wrote:
> > On 3/1/21 2:33 PM, Andrew Leonard wrote:
> >
> > > I have a Mac OS contribution i've developed and tested at AdoptOpenJDK, I
> > > would like to contribute it upstream to jdk8u-dev, unfortunately the
> > > jdk8u-dev supported build platform is MacOS 10.7. Is there a method people
> > > use to build & test their contributions if you don't have a MacOS 10.7
> > > environment? The AdoptOpenJDK jdk8u base has patches to allow building
> > > jdk8u with Xcode 11.5 on 10.15+..
> > Let's get those patches in, then. Who contributed them? We'd
> > need to get them to contribute to 8u.
> Almost all the patches are backports; as they were not bugfixes per se, they
> rarely got approved.
> https://github.com/stooke/jdk8u-xcode10  see especially the patch
> directories.
> -Simon

From what I remember, they were not proposed as backports but as a separate
patch without the source history.

I can't see a problem with most of the changes proposed, particularly if they
only touch a build configuration (Mac OS) which doesn't work at present.

Patches like https://cr.openjdk.java.net/~phh/jdk8u-xcode12-patches/hotspot/8033289.patch
I've backported myself a long time ago in IcedTea.

Which version of clang are we targetting? As I said before, with the shared code,
a lot of this seems to be warnings from a particular version of clang that will
likely be the same on other platforms, and so can be reproduced without needing
Mac OS.

Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

More information about the jdk8u-dev mailing list