RFR: 8368882: NPE during text drawing on machine with JP locale [v5]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Oct 24 09:50:55 UTC 2025


On Fri, 24 Oct 2025 09:39:28 GMT, Sergey Nazarkin <snazarki at openjdk.org> wrote:

>> test/jdk/java/awt/8368882/FallbackFontNPE.sh line 96:
>> 
>>> 94: 
>>> 95: exit 0
>>> 96: 
>> 
>> I am getting this in our CI run although test passed
>> 
>> 
>> ----------System.out:(12/291)*----------
>> Setup EUDC.tte font
>> ...Write HKCU\\EUDC\\1252 record
>> The operation completed successfully.
>> 
>> ...Copy custom EUDC.tte file
>> Setup fallback font
>> Run java test FallbackFontNPE
>> Delete fallback font
>> Restore registry record
>> The operation completed successfully.
>> 
>> ...Delete test EUDC.tte
>> ----------System.err:(3/228)----------
>> ERROR: The system was unable to find the specified registry key or value.
>> cp: cannot create regular file 'C:/WINDOWS/Fonts/EUDC.tte': Permission denied
>> rm: cannot remove 'C:/WINDOWS/Fonts/EUDC.tte': No such file or directory
>
> I was afraid of this, and I don't know how to fix it.  Without this file, the test never fails and becomes meaningless.

I guess we can get rid of the test if we cannot test it reliably in CI as we have precedent of fixing this kind of EUDC issue without test as in JDK-8170913 if @prrace is ok with it

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27551#discussion_r2459569849


More information about the client-libs-dev mailing list