public class Outer {
public static class Inner extends Outer {
}
}
It seems to compile with my openjdk8 compiler but IntelliJ 2019.1 complains : Cannot access Outer
I think this might be an IntelliJ bug..
EDIT: I confirm this was an IntelliJ bug. I solved this by installing the IntelliJ with the bundled OpenJDK 11.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With