[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    RFR: 8312075: FileChooser.win32.newFolder is not updated when changing Locale
From:       Tejesh R <tr () openjdk ! org>
Date:       2023-07-28 11:03:18
Message-ID: _XawiMouFRVn_letIBC3AceK-hMGomSenF5c-MjFCic=.a14a5114-0619-4456-8d89-29665d6623e5 () github ! com
[Download RAW message or body]

On `NewFolderAction`, plain String is added `Action.ACTION_COMMAND_KEY`. Converting \
the `String `to `locale` before adding as command key fix the issue.  I have verified \
the test in all other platforms and Look and Feel which has option to create New \
Folder, results were fine. No regressions found on CI system with the fix. Added \
manual test to verify the fix.

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

Commit messages:
 - Whitespace removal
 - Fix + Manual Test

Changes: https://git.openjdk.org/jdk/pull/15069/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15069&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312075
  Stats: 129 lines in 3 files changed: 128 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15069.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15069/head:pull/15069

PR: https://git.openjdk.org/jdk/pull/15069


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic