Final field assignment check skipped

Issue #90 resolved
Jesper Öqvist created an issue

JastAddJ 7.1.1-264-g6b559f3 Java SE 7

If a class has multiple static final fields and one of them is uninitialized it seems like the unassigned final field check is skipped for that field. Test case:

// Test missing static final assignment error message.
// .result=COMPILE_FAIL
public class Test {
        static final int x = 0, y;
}

Comments (1)

  1. Log in to comment