icc_loading_with_symlink
authorOpenJDK Team <openjdk-21@packages.debian.org>
Sat, 10 Aug 2024 08:08:49 +0000 (10:08 +0200)
committerMatthias Klose <doko@ubuntu.com>
Sat, 10 Aug 2024 08:08:49 +0000 (10:08 +0200)
Gbp-Pq: Name icc_loading_with_symlink.diff

src/java.desktop/share/classes/java/awt/color/ICC_Profile.java

index 0d31d25b119718e957dd5a888c05f635a74d8fc7..3ad65e6051a5feaef426d369ad1febcf09de229e 100644 (file)
@@ -1316,9 +1316,6 @@ public sealed class ICC_Profile implements Serializable
                 dir = st.nextToken();
                 fullPath = dir + File.separatorChar + fileName;
                 f = new File(fullPath);
-                if (!isChildOf(f, dir)) {
-                    f = null;
-                }
             }
         }