keeganwitt / gmock

Automatically exported from code.google.com/p/gmock
6 stars 2 forks source link

Use the default implements of groovy for POJO per-instance meta class if the version of groovy is greater than or equal to 1.6 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Use the default implements of groovy for POJO per-instance meta class if
the version of groovy is greater than or equal to 1.6.

What's more, I think we can copy the code of weak reference hash map in
groovy 1.6 to gmock, which is using "System.identityHashCode()", because it
is better than the current implements of POJO per-instance meta class in
gmock as the implements of groovy will not stop the POJO from being garbage
collected.

Original issue reported on code.google.com by JohnnyJianHY on 27 Feb 2009 at 12:53

GoogleCodeExporter commented 9 years ago
Should we do that as part of 0.7.1

Original comment by julien.g...@gmail.com on 1 Mar 2009 at 8:00

GoogleCodeExporter commented 9 years ago
OK, I was thinking that we will support both groovy 1.5 and 1.6 at the same 
time.

Original comment by JohnnyJianHY on 1 Mar 2009 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 1 Mar 2009 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 19 Mar 2009 at 10:19