RFR: JDK-8232748: Build static versions of certain JDK libraries
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Oct 29 12:44:18 UTC 2019
On 2019-10-28 21:46, Erik Joelsson wrote:
> Certain downstream consumers of the JDK need to link to parts of it
> statically. To support this usecase, this patch adds a set of optional
> make targets that produce static native libraries for a selection of
> modules. These static libraries do not end up in the main JDK
> distribution but are instead packaged in a separate bundle that can be
> optionally overlayed on top of a JDK bundle. The new targets are only
> built when requested and are not added as dependencies on any existing
> target.
>
> Webrev: http://cr.openjdk.java.net/~erikj/8232748/webrev.01
Looks good to me.
Hopefully we can make a follow-up fix to remove the current "static
libs" implementation that was needed by the Mobile project. This
implementation was a bit hackish from the start, and it has bit-rotted
severly, and might not even work right now. I'm eager to remove it, but
I don't want to break the Mobile build, so hopefully we can find some
way to adjust this new system to be usable by them, too.
/Magnus
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8232748
>
> /Erik
>
>
More information about the build-dev
mailing list