When an Interface with no default method extends Serializable everythings works fine. But When a default method for that interface comes in picture we have a warning that says:
MyInterface.java: serializable class MyInterface has no definition of serialVersionUID
It got intersting when I change that interface to a abstract class. The error disappears.
To sum up the warning happening table is as below:
|----------------------------|------------------|
| Type | WARNING |
|----------------------------|------------------|
| interface with no defaults | NO |
|----------------------------|------------------|
| interface with defaults | YES |
|----------------------------|------------------|
| abstract class | NO |
|----------------------------|------------------|
Is there any reason for that or it's just a bug?