mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8305950: Have -XshowSettings option display tzdata version
Reviewed-by: rriggs
This commit is contained in:
parent
d9052b9466
commit
07f55c5ea2
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2007, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2007, 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
|
||||
|
@ -83,6 +83,7 @@ import jdk.internal.module.ModuleBootstrap;
|
|||
import jdk.internal.module.Modules;
|
||||
import jdk.internal.platform.Container;
|
||||
import jdk.internal.platform.Metrics;
|
||||
import sun.util.calendar.ZoneInfoFile;
|
||||
|
||||
/**
|
||||
* A utility package for the java(1), javaw(1) launchers.
|
||||
|
@ -280,6 +281,8 @@ public final class LauncherHelper {
|
|||
Locale.getDefault(Category.DISPLAY).getDisplayName());
|
||||
ostream.println(INDENT + "default format locale = " +
|
||||
Locale.getDefault(Category.FORMAT).getDisplayName());
|
||||
ostream.println(INDENT + "tzdata version = " +
|
||||
ZoneInfoFile.getVersion());
|
||||
printLocales();
|
||||
ostream.println();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue