Patch for Review: JvGetStringUTF and JvTempCString

Mohan Embar gnustuff@thisiscool.com
Tue Aug 12 15:47:00 GMT 2003


Hi Andrew,

>It depends on how long the string might be.  We don't want Java to
>generate stack overflows.  It's a nice featre of Java that stack sizes
>are usually small.

...which would be another argument in favor of encapsulating this
by a class instead of a macro. Do we have any idea what we'd want
the maximum size of any stack-allocated string to be?

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/






More information about the Java-patches mailing list