Super constructor access allowed in enum constructor

Issue #99 resolved
Jesper Öqvist created an issue

JastAddJ 7.1.1-277-g61a8986 Java SE 7

Super constructor invocation should not be allowed inside an enum constructor.

Test case:

// Enum constructors cannot call super()
// .result=COMPILE_FAIL
enum E {
        ;
        E() {
                super();
        }
}

Comments (1)

  1. Log in to comment