<Swing Dev> RFR: 8263454: com.apple.laf.AquaFileChooserUI ignores the result of String.trim()
Alexander Zvegintsev
azvegint at openjdk.java.net
Mon Mar 22 22:25:51 UTC 2021
Looks like the original idea was to set `fallbacktext` on strings containing only spaces.
I decided to remove the `trim()` call to keep the same behavior and to allows to set such meaningless space only titles/tooltips(same as on other platforms, maybe someone want empty label for some reason).
-------------
Commit messages:
- initial
Changes: https://git.openjdk.java.net/jdk/pull/3136/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3136&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8263454
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/3136.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3136/head:pull/3136
PR: https://git.openjdk.java.net/jdk/pull/3136
More information about the swing-dev
mailing list