git: openjdk/jdk: 8290499: new File(parent, "/") breaks normalization – creates File with slash at the end

Brian Burkhalter bpb at openjdk.org
Tue May 30 16:19:07 UTC 2023


Changeset: 21af8bae
Author:    Brian Burkhalter <bpb at openjdk.org>
Date:      2023-05-30 16:16:45 +0000
URL:       https://git.openjdk.org/jdk/commit/21af8bae38dd845d5cbeb2b2770e537b5b9bad22

8290499: new File(parent, "/") breaks normalization – creates File with slash at the end

Reviewed-by: rriggs

! src/java.base/unix/classes/java/io/UnixFileSystem.java
! src/java.base/windows/classes/java/io/WinNTFileSystem.java
! test/jdk/java/io/File/Cons.java



More information about the jdk-changes mailing list