src/share/classes/sun/tools/jinfo/JInfo.java

Print this page

        

*** 39,48 **** --- 39,49 ---- * and decides if the command should be satisfied using the VM attach mechanism * or an SA tool. */ public class JInfo { + @SuppressWarnings("fallthrough") public static void main(String[] args) throws Exception { if (args.length == 0) { usage(1); // no arguments }
*** 116,125 **** --- 117,127 ---- sysprops(pid); break; case "-help": case "-h": usage(0); + // Fall through default: if (args.length == 1) { // no flags specified, we do -sysprops and -flags pid = args[0]; sysprops(pid);