[EXTERNAL] Re: Port of JEP 386: Alpine Linux Port to jdk8u
Stephanie Crater
scrater at microsoft.com
Fri May 13 14:08:58 UTC 2022
Hi Aleksei and Andrew,
This was some work done by Microsoft largely based off the Alpine project's port [1] to fulfill the needs of Azure App Service. I also pulled in some of the initial changes to OpenJDK 16 in JEP 386 [2] (namely, detecting the C library and defining MUSL_LIBC), as the Alpine project's port modified jdk8 to support Alpine/musl libc only at the expense of other operating systems/C libraries.
I would be happy to open an initial PR on the jdk8u-dev repo to discuss the particulars and apply refactoring from feedback and advice.
Thanks,
Stephanie
[1] openjdk8 « community - aports - Alpine packages build scripts (alpinelinux.org)<https://git.alpinelinux.org/aports/tree/community/openjdk8>
[2] 8247589: Implementation of Alpine Linux/x64 Port · openjdk/jdk16u at 63009f9 (github.com)<https://github.com/openjdk/jdk16u/commit/63009f90ec7df053c936226663b463b8584364a9>
From: Aleksei Voitylov <aleksei.voitylov at bell-sw.com>
Date: Thursday, May 5, 2022 at 10:32 AM
To: Stephanie Crater <scrater at microsoft.com>, jdk8u-dev at openjdk.java.net <jdk8u-dev at openjdk.java.net>
Subject: [EXTERNAL] Re: Port of JEP 386: Alpine Linux Port to jdk8u
Hi Stephanie,
when briefly looking through the changed filenames I stumbled upon
cpu/ppc/vm, os_cpu/linux_ppc/vm and couldn't recollect having to touch
these directories in JEP 386. So, I wanted to ask a question:
Is this a backport of the set of changes that were committed upstream to
OpenJDK 16 in JEP 386 (or a backport from 11u backports I recently did)?
Or is this some original work Microsoft has done for 8u shared code and
PPC in particular?
Thanks,
-Aleksei
On 28/04/2022 20:16, Stephanie Crater wrote:
> Hi,
>
> Would the community be open to a port of JEP 386: Alpine Linux Port [1]/JDK-8247589 [2] to OpenJDK jdk8u? A backport of JDK-8247589 to 11u has recently been integrated by BellSoft, and many OpenJDK vendors (BellSoft Liberica, Azul Zulu, Amazon Corretto) provide a jdk8 for Alpine Linux. We believe there is sufficient user demand for Alpine/musl support on jdk8u, but would be interested in the opinions of other vendors on this as well.
>
> Microsoft is part of the Eclipse Adoptium Working Group and has recently trialed a patch which was applied to the 8u322 tag on the jdk8u source tree (for Eclipse Temurin binary production)[3]. That 8u322 based binary passes builds on all platforms (i.e. No regressions on other platforms) and the AQAVit test suite. The Eclipse Temurin Compliance group also reported that the TCK passed.
>
> We would be willing to maintain Alpine Linux in jdk8u but would prefer that there is broad support. Please let me know what you think or if there are any concerns you may have regarding the proposal of this backport.
>
> Thanks,
> Stephanie
>
> [1] https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopenjdk.java.net%2Fjeps%2F386&data=05%7C01%7Cscrater%40microsoft.com%7C57bae90fe28148c90fb908da2ea40693%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637873579263062324%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wI5GWxdBIt01sJ3tf%2B5JxnC%2FXuqM9l12hlMFAyoji4c%3D&reserved=0
> [2] https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.openjdk.java.net%2Fbrowse%2FJDK-8247589&data=05%7C01%7Cscrater%40microsoft.com%7C57bae90fe28148c90fb908da2ea40693%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637873579263062324%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=uqjYEoxOct5fWt%2FikgilUT6e2w6%2FcDZH2HTbgCF3vpE%3D&reserved=0
> [3] https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk8u%2Fpull%2F9&data=05%7C01%7Cscrater%40microsoft.com%7C57bae90fe28148c90fb908da2ea40693%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637873579263062324%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kq0F9i35CSD5A6Y0b7%2BKp3fjAavQ4kL6lvDDS6%2BLq9I%3D&reserved=0
>
More information about the jdk8u-dev
mailing list