mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8343804: Show the default time zone with -XshowSettings option
Reviewed-by: iris, jpai
This commit is contained in:
parent
44ec501a41
commit
0329855831
2 changed files with 9 additions and 2 deletions
|
@ -63,6 +63,7 @@ import java.util.Optional;
|
|||
import java.util.Properties;
|
||||
import java.util.ResourceBundle;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
import java.util.TreeSet;
|
||||
import java.util.function.Function;
|
||||
import java.util.jar.Attributes;
|
||||
|
@ -318,6 +319,8 @@ public final class LauncherHelper {
|
|||
Locale.getDefault(Category.DISPLAY).getDisplayName());
|
||||
ostream.println(INDENT + "default format locale = " +
|
||||
Locale.getDefault(Category.FORMAT).getDisplayName());
|
||||
ostream.println(INDENT + "default timezone = " +
|
||||
TimeZone.getDefault().getID());
|
||||
ostream.println(INDENT + "tzdata version = " +
|
||||
ZoneInfoFile.getVersion());
|
||||
if (verbose) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue