8299836: Make user.timezone system property searchable

Reviewed-by: jpai, naoto
This commit is contained in:
Justin Lu 2023-01-11 17:14:08 +00:00 committed by Naoto Sato
parent c7716a0101
commit 437d69a220

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -631,7 +631,7 @@ public abstract class TimeZone implements Serializable, Cloneable {
* time zone.
*
* <ul>
* <li>Use the {@code user.timezone} property value as the default
* <li>Use the {@systemProperty user.timezone} property value as the default
* time zone ID if it's available.</li>
* <li>Detect the platform time zone ID. The source of the
* platform time zone and ID mapping may vary with implementation.</li>