-
-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File release has empty Source string: SOURCE="" #897
Comments
I am also interested in this info for uniquely defining a build (with the SHAs of repos being pulled in to create the binary) in order to relate test results to a particular binary. |
Hi, I just downloaded and ran 11.0.4+11 and the release file now has a git sha in it :-) The source tree for that sha is https://github.com/AdoptOpenJDK/openjdk-jdk11u/tree/381c817fa41d549420b1f3a173d9147aa7a679cd Is there a way to see the link between that and the source on openjdk.java.net? The tag there is 6a4d57474e1c971cccf4165b3d9d023928510010 and that occurs in openjdk-jdk11u/.hgtags
|
You can compare against the 11.0.4+11 tag in mercurial (which will have a commit hash) - we don't have a direct mapping yet (since our git source does technically deviate) |
@smlambert Regarding this, #1949 has gone in recently that adds either a git hash or git tag to the As for the original issue, we have long since moved past 11.0.2 (we're now on 11.0.7), can this be closed as the new binaries do have a source hash? |
Great, so if I understand correctly, the contents of SOURCE should be the SHA of the AdoptOpenJDK git mirrors (https://github.com/AdoptOpenJDK/openjdk-jdk11u, etc) for hotspot, is it now present for all versions? 8 and 11+? for all impls (though I technically can just look at java -version output for SHAs for openj9, being able to use same approach to query for both is good). |
Looking at two recent nightlies for JDK8 and 11, I can confirm JDK8 doesn't contain a source value (JDK11 does however). 8 contains noticeably less data too:
|
ok, I guess for jdk8 the story may be slightly more complicated... it will be nice to have it for that LTS version also, but it is fine to do that under another issue, if you wish to close this one, which originally requested it for jdk11 |
Closing this and following up JDK8 in #1966 |
Platform:
Any
Architecture:
Any
If I look at the release file in 11.0.2 from AdoptOpenJDK
and for the same from Oracle
I see the Oracle version has a source code SHA. If you are buildign binaries form source, then source needs to be identifiable.
The text was updated successfully, but these errors were encountered: