RFR: 8288882: JFileChooser - empty (0 bytes) file is displayed as 1 KB

Abhishek Kumar duke at openjdk.org
Wed Jun 29 13:16:19 UTC 2022


JFileChooser - empty file size issue fixed. 
For empty file, now the size 0 bytes.
Manual Test Case "ZeroFileSizeCheck.java" created.

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

Commit messages:
 - JFileChooser empty file size 0 bytes fixed

Changes: https://git.openjdk.org/jdk/pull/9327/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9327&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8288882
  Stats: 94 lines in 2 files changed: 90 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/9327.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9327/head:pull/9327

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



More information about the client-libs-dev mailing list