I just checked some of the source code in the Suse Linux Factory package jikes-1.22-138.13 and I noticed the following:
$ egrep "new|delete" ../BUILD/jikes-1.22/src/class.cpp | fgrep unicode_problem
wchar_t* unicode_problem = new wchar_t[length + 1];
The call to delete seems to be wrong.
Suggest new code
delete  unicode_problem; unicode_problem = NULL;
Log in to post a comment.