langtools/test/tools/javac/proprietary/WarnClass.java
author chegar
Tue, 13 Oct 2015 09:02:30 +0100
changeset 33021 8a0d5889acea
parent 30730 d3ce7619db2c
permissions -rw-r--r--
8139371: Three langtools test failures after the removal of sun.misc.Lock Reviewed-by: jjg, mchung
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
30714
2bd9a474f287 8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents: 23393
diff changeset
     2
 * @test    /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug     6380059
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary Emit warnings for proprietary packages in the boot class path
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * @author  Peter von der Ah\u00e9
33021
8a0d5889acea 8139371: Three langtools test failures after the removal of sun.misc.Lock
chegar
parents: 30730
diff changeset
     6
 * @modules java.base/sun.security.x509
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
 * @compile WarnClass.java
30714
2bd9a474f287 8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents: 23393
diff changeset
     8
 * @compile/fail/ref=WarnClass.out -XDrawDiagnostics  -Werror WarnClass.java
2bd9a474f287 8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents: 23393
diff changeset
     9
 * @compile/fail/ref=WarnClass.out -XDrawDiagnostics  -Werror -nowarn WarnClass.java
2bd9a474f287 8068465: Group 10e: golden files for tests in tools/javac dir
sogoel
parents: 23393
diff changeset
    10
 * @compile/fail/ref=WarnClass.out -XDrawDiagnostics  -Werror -Xlint:none WarnClass.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
33021
8a0d5889acea 8139371: Three langtools test failures after the removal of sun.misc.Lock
chegar
parents: 30730
diff changeset
    13
public class WarnClass extends sun.security.x509.X509CertInfo {}