-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
None
-
Affects Version/s: 1.4.2_06, 6u14
-
Component/s: tools
-
generic, x86
-
generic, windows_xp
From: ###@###.###
Date: Tue, 29 Mar 2005 15:57:37 -0800
The following program should fail to compile, but it compiles using
the JDK5 compiler without complaint:
public final class Api {
public static class Entry {
public static int foo;
}
private static int Entry;
}
class Client {
int x = Api.Entry.foo;
}
###@###.### 2005-03-30 04:38:07 GMT
Date: Tue, 29 Mar 2005 15:57:37 -0800
The following program should fail to compile, but it compiles using
the JDK5 compiler without complaint:
public final class Api {
public static class Entry {
public static int foo;
}
private static int Entry;
}
class Client {
int x = Api.Entry.foo;
}
###@###.### 2005-03-30 04:38:07 GMT
- duplicates
-
JDK-6865517 method does not obscure nested class as per JLS 3 sec 6.5.2
-
- Closed
-