Occasional thoughts on sofware architecure and programming languages
def testCollect { // Allocate a string that's not a constant. var sampleString = String.format("a{0}", "b"); // Force a collection tart.gc.GC.collect(); // Ensure that the string is still valid. assertEq("ab", sampleString); }
No comments:
Post a Comment