Commit aa0149ff by Hans Boehm Committed by Hans Boehm

natString.cc: correct argument order for _Jv_AllocPtrFreeObj

	* java/lang/natString.cc: correct argument order for
	_Jv_AllocPtrFreeObj

From-SVN: r47035
parent 49e19725
2001-11-14 Hans Boehm <Hans_Boehm@hp.com>
* java/lang/natString.cc: correct argument order for
_Jv_AllocPtrFreeObj
2001-11-14 Tom Tromey <tromey@redhat.com>
* verify.cc (class _Jv_BytecodeVerifier) [op_dup2]: Fixed logic.
......
......@@ -400,7 +400,7 @@ _Jv_AllocString(jsize len)
#else
// Class needs no initialization, and there is no finalizer, so
// we can go directly to the collector's allocator interface.
jstring obj = (jstring) _Jv_AllocPtrFreeObj(&StringClass, sz);
jstring obj = (jstring) _Jv_AllocPtrFreeObj(sz, &StringClass);
#endif
obj->data = obj;
obj->boffset = sizeof(java::lang::String);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment