You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is not possible to define an anonymous class inside a contract.
When trying to define one, the error is that the correspondent ...$1 class was not found in the classpath.
The reason is that the generated classfile of the anonymous class has the .contracts extension, instead of .class, and thus is not found.
Simply changing the extension of anonymous classes ("$[0-9]+") is not a solution since it breaks anonymous classes with contracts on it (sorry about the changelist :P).
Hi, it just happened to me and, after a good couple hours and another couple heads, We were able to identify the problem. Although not resolve it without removing the inner class. I was about to submit the problem when I checked the issues... It seems that it is still open on the latest cofoja-1.0- r139 .jar.
From [email protected] on August 05, 2011 04:51:27
Currently it is not possible to define an anonymous class inside a contract.
When trying to define one, the error is that the correspondent ...$1 class was not found in the classpath.
The reason is that the generated classfile of the anonymous class has the .contracts extension, instead of .class, and thus is not found.
Simply changing the extension of anonymous classes ("$[0-9]+") is not a solution since it breaks anonymous classes with contracts on it (sorry about the changelist :P).
Original issue: http://code.google.com/p/cofoja/issues/detail?id=29
The text was updated successfully, but these errors were encountered: