Menu

#71 circularly dependent local class hangs compilation

closed-fixed
5
2004-12-06
2004-11-12
Anonymous
No

class Outer
{
void foo()
{
class Local extends Local {}
}
}

Discussion

  • Arno Unkrig

    Arno Unkrig - 2004-12-06

    Logged In: YES
    user_id=865893

    Why would you want to write such code? ;-)

    Seriously: All kinds of superclass / superinterface
    circularities hung JANINO. Added a check; now

    Interface circularity detected for "Xyz"

    or

    Class circularity detected for "Xyz"

    is reported.

    Will be fixed in 2.0.17.

     
  • Arno Unkrig

    Arno Unkrig - 2004-12-06
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB