[jdk8u-dev] RFR: 8287191: [8u] Build failure without git information

wxiang duke at openjdk.java.net
Tue May 24 01:49:09 UTC 2022


In 8u332, the commit "8210283: Support git as an SCM alternative in the build” used git as an SCM.
In the source package “https://github.com/openjdk/jdk8u/archive/refs/tags/jdk8u332-ga.tar.gz”, 
the .git directory has been removed in the source package. 

When we compile JDK with the source code from the package, we get the below error: 
``` 
Building 'linux-x86_64-normal-server-release' (matching CONF=release)

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

Commit messages:
 - 8287191: [8u] Build failure without git information

Changes: https://git.openjdk.java.net/jdk8u-dev/pull/65/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk8u-dev&pr=65&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287191
  Stats: 7 lines in 1 file changed: 2 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk8u-dev/pull/65.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk8u-dev pull/65/head:pull/65

PR: https://git.openjdk.java.net/jdk8u-dev/pull/65


More information about the jdk8u-dev mailing list