Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

A circular call is detected when there isn't.

#23

Reported by Thomas Han · May 14th, 2011 @ 01:04 PM

State: resolved
Milestone: 1.2.3

Activity

  1. Thomas Han
    Thomas Han

    @Invariant({

    g
    

    }) class G {

    String g = "g"
    
    /**
     * @see java.lang.Object#toString()
     */
    @Override
    String toString() {
        return g
    }
    

    }

    @Invariant({

    g
    

    }) class H {

    G g = new G()
    
    /**
     * @see java.lang.Object#toString()
     */
    @Override
    String toString() {
        g.toString()
    }
    

    }

    When we call H toString() it detects a circular call.

    Can you please confirm?

    May 14th, 2011 @ 01:06 PM

  2. Thomas Han
    Thomas Han

    This issue seems to be gone on 1.2.2

    May 18th, 2011 @ 09:06 AM

  3. me (at andresteingress)
    me (at andresteingress)
    • State changed from new to resolved
    • Milestone set to 1.2.3
    • Assigned user set to me (at andresteingress)
    • Milestone order changed from 1 to 0

    there will be improvements to the class invariants injection in 1.2.3, but i am aware there are issues here.

    May 18th, 2011 @ 11:11 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.