On Fri, 13 Jan 2023 04:10:16 GMT, Jie Fu <ji...@openjdk.org> wrote:

> Hi all,
> 
> Configuration is broken in dockers after JDK-8296478.
> This is because `$USER` is not defined in dockers [1].
> 
> The fix will check `whoami` if we get an empty `$USERNAME`.
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] 
> https://stackoverflow.com/questions/54411218/docker-why-isnt-user-environment-variable-set

This pull request has now been integrated.

Changeset: 3ffc9557
Author:    Jie Fu <ji...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/3ffc955783e56ed66a931f13c2688311596224e4
Stats:     8 lines in 2 files changed: 6 ins; 0 del; 2 mod

8300099: Configuration fails to auto-detect build user through $USER in dockers

Reviewed-by: ihse

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

PR: https://git.openjdk.org/jdk/pull/11983

Reply via email to