langtools/test/tools/javac/warnings/6594914/ImplicitCompilation.java
author jlahoda
Mon, 24 Nov 2014 16:02:35 +0100
changeset 27854 22b4bfc4e22f
parent 18919 7d1f1448a9db
permissions -rw-r--r--
8032211: Don't issue deprecation warnings on import statements 6598104: javac should not warn about imports of deprecated classes Summary: Suppressing the deprecation warnings when importing a deprecated element (deprecations in import qualifier will be produced). Reviewed-by: darcy, jjg, mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18919
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     1
/**
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     3
 * @bug 8020586
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     4
 * @summary Warnings in the imports section should be attributed to the correct source file
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     5
 * @clean Auxiliary ImplicitCompilation
27854
22b4bfc4e22f 8032211: Don't issue deprecation warnings on import statements
jlahoda
parents: 18919
diff changeset
     6
 * @compile/ref=ImplicitCompilation.out -source 8 -XDrawDiagnostics -Xlint:deprecation,-options -sourcepath . ImplicitCompilation.java
18919
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     7
 * @clean Auxiliary ImplicitCompilation
27854
22b4bfc4e22f 8032211: Don't issue deprecation warnings on import statements
jlahoda
parents: 18919
diff changeset
     8
 * @compile/ref=ExplicitCompilation.out -source 8 -XDrawDiagnostics -Xlint:deprecation,-options ImplicitCompilation.java Auxiliary.java
18919
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
     9
 */
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
    10
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
    11
public class ImplicitCompilation {
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
    12
    private Auxiliary a;
7d1f1448a9db 8020586: Warning produced for an incorrect file
jlahoda
parents:
diff changeset
    13
}