langtools/test/tools/javap/T4501661.java
changeset 36526 3b41f1c69604
parent 30846 2b3f379840f0
equal deleted inserted replaced
36525:4caf88912b7f 36526:3b41f1c69604
     1 /*
     1 /*
     2  * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2008, 2016, 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 4501661
    29  * @bug 4501661
    30  * @summary disallow mixing -public, -private, and -protected
    30  * @summary disallow mixing -public, -private, and -protected
    31  * @modules jdk.jdeps
    31  * @modules jdk.jdeps/com.sun.tools.javap
    32  */
    32  */
    33 public class T4501661 {
    33 public class T4501661 {
    34     public static void main(String... args) throws Exception {
    34     public static void main(String... args) throws Exception {
    35         new T4501661().run();
    35         new T4501661().run();
    36     }
    36     }