icc_loading_with_symlink
authorOpenJDK Team <openjdk-21@packages.debian.org>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
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;
-                }
             }
         }