<i18n dev> RFR: JDK-8280902 ResourceBundle::getBundle may throw NPE when invoked by JNI code with no caller frame [v3]

Tim Prinzing duke at openjdk.java.net
Thu Mar 3 13:55:01 UTC 2022


On Wed, 2 Mar 2022 22:21:03 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Tim Prinzing has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   suggested changes
>
> test/jdk/java/util/ResourceBundle/exeNullCallerResourceBundle/exeNullCallerResourceBundle.c line 28:
> 
>> 26: 
>> 27: #include "jni.h"
>> 28: #undef NDEBUG
> 
> is this line unintended?

Forcing the assert() seems like a good idea in a test

-------------

PR: https://git.openjdk.java.net/jdk/pull/7663


More information about the i18n-dev mailing list