RFR 9 8031708: Windows x86 build failure: JNU_ThrowOutOfMemoryError undefined

Chris Hegarty chris.hegarty at oracle.com
Tue Jan 14 14:06:42 UTC 2014

On 14 Jan 2014, at 14:03, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 14/01/2014 13:56, Chris Hegarty wrote:
>> A recent change, JDK-8029007 introduced JNU_ThrowOutOfMemoryError into MessageUtils. The Windows x86 build subsequently fails as follows:
>> Warning (shows the root cause):
>> c:/jprt/T/P1/113753.chhegar/s/jdk/src/share/native/sun/misc/MessageUtils.c(58) : warning C4013: 'JNU_ThrowOutOfMemoryError' undefined; assuming extern returning int
> This looks okay, I assume there must be a different version of VC++ being used here.

Thanks of the review Alan.

A warning about the implicit definition is outputted on all platforms, but only seems fatal during linking on Windows x86. I assume it is related to different compiler/linker versions. Either way, the fix is trivial and gets us back up and running on Windows.


> -Alan

More information about the core-libs-dev mailing list