On 07/08/2013 18:20, Ivan Gerasimov wrote:
GetStringUTFChars is supposed to return NULL in OOM situations so this may be a bug (but if you can, it would be good to handle it in the NetworkInterface code).Thanks Alan!I've checked that and it turns out that GetStringUTFChars cannot return NULL. For allocation of the result string it calls AllocateHeap() with the default EXIT_OOM fail strategy.Thus, in case of being unable to allocate memory it simply stops VM.
-Alan