equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
26 |
26 |
27 /* |
27 /* |
28 * @test |
28 * @test |
29 * @bug 6715251 |
29 * @bug 6715251 |
30 * @summary javap should be consistent with javac and return 2 if given no arguments |
30 * @summary javap should be consistent with javac and return 2 if given no arguments |
|
31 * @modules jdk.compiler |
31 */ |
32 */ |
32 |
33 |
33 public class T6715251 { |
34 public class T6715251 { |
34 public static void main(String... args) throws Exception { |
35 public static void main(String... args) throws Exception { |
35 new T6715251().run(); |
36 new T6715251().run(); |