-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: tools
If this test case is compiled:
package java.lang;
public class Object {
void dummy1() { return; }
}
javac will issue a warning saying:
Object.java:1: warning: package exists in another module: java.base
This warning should be an error.
package java.lang;
public class Object {
void dummy1() { return; }
}
javac will issue a warning saying:
Object.java:1: warning: package exists in another module: java.base
This warning should be an error.
- duplicates
-
JDK-8136443 javac should fail to find a symbol, whose package exists in different visible modules
-
- Closed
-