On Wed, 23 Feb 2022 22:00:19 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> In some Linux configurations, the Linux home directory provided by getpwent 
>> is not usable.
>> The value of the system property `user.home` should fallback to the value of 
>> $HOME 
>> if getpwent.user_home is null or less that 2 characters long. "/" is not a 
>> valid home directory name.
>> 
>> If $HOME is undefined or empty, the value of the getpwent.user_home is 
>> retained.
>> 
>> There are more details in the Jira issue: 
>> https://bugs.openjdk.java.net/browse/JDK-8280357
>> 
>> The fix has been tested manually on Ubuntu 20.0.4 using the suggested 
>> systemd command line and variations.
>
> Roger Riggs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   fallback to '?' for user.home if both the pw_dir and /Users/rriggs are not 
> valid

Marked as reviewed by naoto (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/7534

Reply via email to