langtools/test/tools/javap/T6715251.java
changeset 30730 d3ce7619db2c
parent 7681 1f0819a3341f
child 30846 2b3f379840f0
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     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();