RFR  Memory leak in some NetworkInterface methods
Alan.Bateman at oracle.com
Thu Aug 8 01:38:28 UTC 2013
On 07/08/2013 18:20, Ivan Gerasimov wrote:
> 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.
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
More information about the core-libs-dev