langtools/test/tools/javac/depOverrides/doccomment/Test2.java
changeset 40772 de87954b8f20
parent 7681 1f0819a3341f
equal deleted inserted replaced
40771:bf0e92ede33f 40772:de87954b8f20
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 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.
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 5086088
    26  * @bug 5086088
    27  * @summary check warnings generated when overriding deprecated methods
    27  * @summary check warnings generated when overriding deprecated methods
    28  *
    28  *
    29  * @compile/ref=empty   -XDrawDiagnostics -Xlint:deprecation P.java
    29  * @compile/ref=Test2P.out -XDrawDiagnostics -Xlint:deprecation P.java
    30  * @compile/ref=Test2Q.out -XDrawDiagnostics -Xlint:deprecation Q.java
    30  * @compile/ref=Test2Q.out -XDrawDiagnostics -Xlint:deprecation Q.java
    31  * @compile/ref=Test2R.out -XDrawDiagnostics -Xlint:deprecation R.java
    31  * @compile/ref=Test2R.out -XDrawDiagnostics -Xlint:deprecation R.java
    32  * @compile/ref=empty   -XDrawDiagnostics -Xlint:deprecation Test2.java
    32  * @compile/ref=empty   -XDrawDiagnostics -Xlint:deprecation Test2.java
    33  */
    33  */
    34 
    34