|
Duplicate :
|
|
|
Relates :
|
Trying to compile the attached a/A.java and b/B.java causes the following error:
b/B.java:8: cannot find symbol
symbol : class A
location: class b.B
public static class Nested extends A {
^
1 error
See the attached test.zip for the concrete test case.
I suspect the tricky self-importing is causing this issue. I'm not too confident if such import is allowed or not, but if it is, this is a bug. If it's not, then I hope the error message will be improved to point that out.
|