When I define the following class
public class Outer extends Outer.Inner { public static class Inner { } } Netbeans 6.9.1 gives me the "has no definition of serialVersionUID" warning for both Outer and Inner. I'm wondering if there is a legit reason for this warning, or if it's a bug. What about extending an inner class makes the compiler think they are implementing Serializable?
Note: This is more out of curiosity than wanting this unnecessary design pattern.
Cycle detected: the type Outer cannot extend/implement itself or one of its own member types.cyclic inheritance involving Outerand nothing regardingserialVersionUID.