Something like that yes. Maybe just BOOT_JDK_RELEASE, or possibly
BOOT_JDK_RELEASE_FLAG?
/Erik
On 8/12/24 5:56 AM, Baesken, Matthias wrote:
You mean instead of BOOT_JDK_SOURCETARGET use
BOOT_JDK_RELEASETARGET (and set '--release N-1' there) ?
Best regards, Matthias
*From:*Erik Joelsson <erik.joels...@oracle.com>
*Sent:* Monday, 12 August 2024 14:30
*To:* Baesken, Matthias <matthias.baes...@sap.com>; Magnus Ihse Bursie
<magnus.ihse.bur...@oracle.com>; build-dev@openjdk.org
*Subject:* Re: [External] : RE: jdk21u-dev build issue : 8326332:
Unclosed inline tags cause misalignment in summary tables
There is a variable BOOT_JDK_SOURCETARGET exported from configure and
picked up in JavaCompilation.gmk. We should probably change the name
of the variable as well to avoid confusion.
/Erik
On 8/12/24 12:08 AM, Baesken, Matthias wrote:
Hi Erik, the '--release N-1' sounds like a good idea ; where do
we have to set it ?
Best regards, Matthias
>To me that sounds like GHA are miss-configured for the update
releases. To work around this, perhaps we should set an explicit
'--release N-1' argument when building source intended to run on
the bootjdk. It looks like we currently set '-source N-1 -target
N-1' but that isn't enough as it won't change the available JDK
APIs to link to.
>/Erik