You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestInterface.java:8: warning: [ClassInitializationDeadlock] Possible class initialization deadlock: TestEnum is a subclass of the containing class TestInterface
INSTANCE;
^
(see https://errorprone.info/bugpattern/ClassInitializationDeadlock)
Interestingly, it does not happen with a class instead of an enum, nor if I remove the default method.
My assumption is that this is a false alarm, because I don't see how initializing TestInterface would require initializing TestEnum.