[jdk17u-dev] RFR: 8283911: DEFAULT_PROMOTED_VERSION_PRE not reset to 'ea' for jdk-17.0.4

Severin Gehwolf sgehwolf at openjdk.java.net
Wed Mar 30 09:21:02 UTC 2022


On Wed, 30 Mar 2022 03:24:53 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> DEFAULT_PROMOTED_VERSION_PRE has not been reset to 'ea' for either the 17.0.3 or 17.0.4 development cycles.
> 
> While the value is not used by `configure`, we have started to rely on this value ourselves to detect if the source is for an early access (EA) or general access (GA) build, so it would be helpful if the value in the sources was accurate.
> 
> This change would need to be reverted just before the `-ga` tag.

I'm on the fence about this. On the one hand it indicates when we have an `EA` build (if we happen to define EA for update releases too) in the sources. On the other hand this would be prone to error to switch to "GA" mode at the right time. Would this need a separate bug when switching back to GA? Given that most downstream distributors probably don't rely on this (what would they have done up to this point if they did?) anyway, I'm questioning its usefulness. No strong feelings though.

-------------

PR: https://git.openjdk.java.net/jdk17u-dev/pull/307


More information about the jdk-updates-dev mailing list