blob: 140d1e19a36719f5be6439176e9e0882d8b00ff6 [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 4101529
* @summary The compiler used to create class names which were the same as
* existing package names and vice-versa. The compiler now checks
* for this before creating a package or a class.
* @author turnidge
*
* @compile/fail/ref=Bad.out -XDrawDiagnostics Bad.java
*/
package java.lang.String;
class Bad {
}