equal
deleted
inserted
replaced
40 * Main entry point for the launcher. |
40 * Main entry point for the launcher. |
41 * Note: This method calls System.exit. |
41 * Note: This method calls System.exit. |
42 * @param args command line arguments |
42 * @param args command line arguments |
43 */ |
43 */ |
44 public static void main(String[] args) { |
44 public static void main(String[] args) { |
45 if (args.length >= 1 && args[0].equals("-Xold")) { |
|
46 String[] nArgs = new String[args.length - 1]; |
|
47 System.arraycopy(args, 1, nArgs, 0, nArgs.length); |
|
48 sun.tools.javap.Main.main(args); // calls System.exit |
|
49 System.exit(1); |
|
50 } |
|
51 |
|
52 JavapTask t = new JavapTask(); |
45 JavapTask t = new JavapTask(); |
53 int rc = t.run(args); |
46 int rc = t.run(args); |
54 System.exit(rc); |
47 System.exit(rc); |
55 } |
48 } |
56 |
49 |