commit | c1318babb44dded89b88fb5df950b5cd6c6f83da | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Thu Mar 03 14:22:28 2011 -0800 |
committer | Carl Shapiro <cshapiro@google.com> | Thu Mar 03 14:22:28 2011 -0800 |
tree | 838468e994394ad819020084fec34262de8de92c | |
parent | 84af86c4ddac6e8a0e267d4e6309f7d51f4b03d2 [diff] |
Establish a global reference before saving a class into a global. A local reference is obtained to the string class for the purpose of using it later in another routine to create string object arrays. However, the local reference is invalid by the time it is next used. Making the string class reference a global reference eliminates the problem. Change-Id: I8a04642e0ed3060f2fff2cb63996559f004aacff