Closed nhatminhle closed 10 years ago
From nhat.min...@gmail.com on July 12, 2011 12:58:00
Hi, does it build contracts nonetheless? Most probably, I would say the annotation processor is not run at all on the class. Is that Eclipse-specific? Can you try it from the command-line? Thanks.
From sagarf...@gmail.com on July 12, 2011 15:08:54
The above program when executed gives me output -15. which is result of -10 - 5 . I dont get any error for undefined symbol c. I have also attached the annotation and factory path setting GUI window for your reference. Kindly help.
regards sagar sagarfree@gmail.com
Attachment: AnnotationProcessingWindow.jpg factoryPathWindow.jpg
From chat...@google.com on August 03, 2011 04:25:53
Issue 26 has been merged into this issue.
From alexl...@gmail.com on October 14, 2011 14:56:47
works for me, I had some problems setting up Eclipse though.
make sure the jar files are really present and the annotation processor runs.
From nhat.min...@gmail.com on August 17, 2014 14:26:11
Status: Invalid
From sagarf...@gmail.com on July 12, 2011 11:25:10
What steps will reproduce the problem? 1. load the program Contracts.java
package temp; import com.google.java.contract.Ensures; import com.google.java.contract.Requires;
public class Contracts{ public static void main(String[] args) {
}
class Numbers {
}
Original issue: http://code.google.com/p/cofoja/issues/detail?id=27