< prev index next >
langtools/src/jdk.compiler/share/classes/com/sun/tools/javah/Util.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2016, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -89,11 +89,10 @@
public void log(String s) {
log.println(s);
}
-
/*
* Help for loading localized messages.
*/
private ResourceBundle m;
@@ -115,22 +114,10 @@
}
return null; /* dead code */
}
/*
- * Usage message.
- */
- public void usage() throws Exit {
- log.println(getText("usage"));
- }
-
- public void version() throws Exit {
- log.println(getText("javah.version",
- System.getProperty("java.version"), null));
- }
-
- /*
* Failure modes.
*/
public void bug(String key) throws Exit {
bug(key, null);
}
< prev index next >