<i18n dev> RFR: 8301875: java.util.TimeZone.getSystemTimeZoneID uses C library default file mode
    Justin Lu 
    jlu at openjdk.org
       
    Wed Jan 29 21:36:51 UTC 2025
    
    
  
On Wed, 29 Jan 2025 20:42:30 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Force opening "tzmappings" file in text mode. Confirmed the fix with customer provided test case. Also replaced the file open function with the safer one.
Fix looks correct to force "text mode". Switch to `fopen_s` also looks good.
-------------
Marked as reviewed by jlu (Committer).
PR Review: https://git.openjdk.org/jdk/pull/23356#pullrequestreview-2582399663
    
    
More information about the i18n-dev
mailing list