mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8196127: Dead code in VersionProps.java.template
Reviewed-by: lancea, psandoz
This commit is contained in:
parent
7568db027d
commit
f7a44a7d8a
1 changed files with 0 additions and 7 deletions
|
@ -166,15 +166,8 @@ class VersionProps {
|
|||
* Print version info.
|
||||
*/
|
||||
private static void print(boolean err, boolean newln) {
|
||||
boolean isHeadless = false;
|
||||
PrintStream ps = err ? System.err : System.out;
|
||||
|
||||
/* Report that we're running headless if the property is true */
|
||||
String headless = System.getProperty("java.awt.headless");
|
||||
if ( (headless != null) && (headless.equalsIgnoreCase("true")) ) {
|
||||
isHeadless = true;
|
||||
}
|
||||
|
||||
/* First line: platform version. */
|
||||
if (err) {
|
||||
ps.println(launcher_name + " version \"" + java_version + "\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue