Hi Magnus, While looking through the now resolved JDK-8274980 <https://bugs.openjdk.java.net/browse/JDK-8274980> one discussed possibility in particular caught my eye: "The one thing remaining now to make me fully happy wrt version numbers, is if we could stop hard-coding them into files during build, and instead have interested parties read it from a text file."
By hardcoded files, are you referring to the files generated when configure is run? In my opinion a separate text file wouldn't be needed if a flag is set somewhere, and we could instead modify the generated spec.gmk to run other support scripts to determine VERSION_BUILD if it hasn't been set yet (ie shifting automated version detection to when make is called by changing spec.gmk.in to an absolute value if --with-version-opt was passed, and compile time check otherwise). perhaps by escaping bash variables into make while it's running. What do you think? Thanks for your time and I'm really sorry if I'm troubling you on this, have a great day! :) best regards, Julian