2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 08:56:14 +00:00
|
|
|
* @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
|
2007-12-01 00:00:00 +00:00
|
|
|
*
|
2015-05-15 08:56:14 +00:00
|
|
|
* @compile/fail/ref=util.out -XDrawDiagnostics util.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
package java;
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
class util {
|
|
|
|
Set x;
|
|
|
|
}
|