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.

Activity (RSS)

Wednesday, May 18 2011
10 Support for static methods was updated
25 Precondition (@Requires) should be checked before the method, closure is invoked was updated
  • me (at andresteingress)
    • Milestone changed from 1.2.3 to 1.2.4
    • Milestone order changed from 8 to 0
    by me (at andresteingress) at 11:16 AM
  • me (at andresteingress)
    • Milestone set to 1.2.3
    • Assigned user set to me (at andresteingress)
    • Milestone order changed from 3 to 0
    by me (at andresteingress) at 11:10 AM

    a duplicate of #10

  • Thomas Han
    Thomas Han created the ticket at 9:47 AM

    The converse is true for the post conditions (@Ensures).
    The check should be after the the method, closure invocation.

    class G {

    String g
    

    }

    class H {

    @Requir...
1.2.4 was created by me (at andresteingress) at 11:15 AM
 
0 of 6 tickets remain in this milestone
24 Invariant not obeyed for private constructor was updated
  • me (at andresteingress)
    • State changed from new to hold
    • Assigned user set to me (at andresteingress)
    by me (at andresteingress) at 11:15 AM

    this behavior is ideational to allow GContracts to be used in frameworks like Hibernate etal. that make use of private/protected constructors to create uninitia...

23 A circular call is detected when there isn't. was updated
  • 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
    by me (at andresteingress) at 11:11 AM

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

  • Thomas Han
    Thomas Han commented at 9:06 AM

    This issue seems to be gone on 1.2.2

moved HTML template to resources dir ... was committed by Andre Steingress at 11:08 AM
removed class invariants from read-on... was committed by Andre Steingress at 10:38 AM
Monday, May 16 2011
24 Invariant not obeyed for private constructor was created
  • Thomas Han
    Thomas Han created the ticket at 10:16 AM

    @Invariant({

    g != null
    

    }) class G {

    String g
    
    private G(String g) {
        this.g = g
    }
    
    static G of(String g) {
        return new G(g)
    }
    

    }

    If we construct the G ...

Saturday, May 14 2011
23 A circular call is detected when there isn't. was updated
  • Thomas Han
    Thomas Han commented at 1:06 PM

    @Invariant({

    g
    

    }) class G {

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

    }

    @Invariant({

    g
    

    }) c...

  • Thomas Han
    Thomas Han created the ticket at 1:04 PM
Thursday, May 12 2011
set to 1.2.3-SNAPSHOT https://github.... was committed by Andre Steingress at 9:03 PM
version set to 1.2.2 https://github.c... was committed by Andre Steingress at 8:20 PM
10 Support for static methods was updated
1 provide better javadoc for SPI classes was updated
5 consistent naming through the core classes was updated
17 old variable generation on inherited instance variables was updated
18 call to super method causes precondition violation was updated
3 accessing private variables from @Invariant was updated
9 support for annotation contracts in interfaces was updated
1.2.3 was created by me (at andresteingress) at 8:07 PM
 
0 of 3 tickets remain in this milestone
Monday, May 09 2011
22 Support for private contructor was updated
11 support for private methods was updated
fixed [#22] and [#11] https://github.... was committed by Andre Steingress at 11:44 AM
added testcase for [#3] https://githu... was committed by Andre Steingress at 11:08 AM
3 accessing private variables from @Invariant was updated
fixed class invariant check on return... was committed by Andre Steingress at 10:09 AM
Friday, May 06 2011
22 Support for private contructor was created
Thursday, May 05 2011
changed circularassertion call detect... was committed by Andre Steingress at 9:54 PM
Thursday, April 14 2011
16 missing return causes wrong method behavior was updated
test-case for [#16] https://github.co... was committed by Andre Steingress at 11:14 AM
21 cyclic method calls when querying property in class invariant was updated
  • me (at andresteingress)
    • State changed from new to hold
    by me (at andresteingress) at 11:10 AM

    the problem is that getBalance() is user-defined. since it is user-defined it gets injected with a class invariant. the call in the class invariant gets compile...

19 multiple return statements cause missing postcondition validation was updated
multiple return statements cause miss... was committed by Andre Steingress at 11:07 AM
Tuesday, April 12 2011
21 cyclic method calls when querying property in class invariant was created
  • me (at andresteingress)
    me (at andresteingress) created the ticket at 6:43 PM
    @Invariant({ balance >= 0.0 })
    class Account {
    
       protected double balance   
    
       def withdraw(BigDecimal amount) {
          balance -= amount
          return amoun...
fixed a comment https://github.com/an... was committed by Andre Steingress at 6:40 PM
20 precondition specification on constructor with default value fails was updated
precondition specification on constru... was committed by Andre Steingress at 11:23 AM
changed to 1.2.2-SNAPSHOT https://git... was committed by Andre Steingress at 11:13 AM
precondition specification on constru... was committed by Andre Steingress at 11:11 AM
Monday, April 11 2011
19 multiple return statements cause missing postcondition validation was created
  • me (at andresteingress)
    me (at andresteingress) created the ticket at 9:29 PM
    class BetterAccount extends Account {
        
        BigDecimal withdraw( BigDecimal amount )
        {
            if ((balance + frame) < amount) {
              return 0.0
      ...