RFR: 8221610: Resurrect (legacy) JRE bundle target
christoph.langer at sap.com
Thu Mar 28 09:07:05 UTC 2019
today I’m coming up with kind of a backward oriented suggestion… don’t know how well that would be received. Let’s see.
For JDK 11, with JDK-8200132 , the JRE build has been moved to legacy.
There has been some discussion beforehand whether the JRE build can completely be dropped or how far one can go removing the support for it . In the end the decision was made to at least remove the JRE from the main targets and only offer some “legacy” targets that would still build the JRE. Unfortunately, you were under the assumption that nobody except Oracle would use the bundle target and removed it as well . Unfortunately, this assumption was not quite true (and I was not there to raise my concern ☹). In SapMachine builds, we use the bundle targets and we are also still building JRE images for several stakeholders. So it would really be good if we could get the JRE bundle target back. At the moment we mimick the bundling in a shell script that is run after the build.
So, I suggest to add back the BUILD_JRE_BUNDLE target in Bundles.gmk and add an additional main target called legacy-bundles which can be called for creating the JRE bundle.
Of course, this can go eventually when JRE support is finally dropped for OpenJDK.
More information about the build-dev