Menu

#60 Can't set static final vars to 'null'

closed-fixed
5
2004-09-17
2004-09-17
No

The following code doesn't compile. The error reported
is: Unexpected constant value type "java.lang.Throwable".

class Test2 {
static final Object _null = null;
}

Discussion

  • Arno Unkrig

    Arno Unkrig - 2004-09-17

    Logged In: YES
    user_id=865893

    Generation of "constant value" attribute of field info
    failed for constant value "null".
    Will release in version 2.0.11 (not scheduled yet).

     
  • Arno Unkrig

    Arno Unkrig - 2004-09-17
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB