icc_loading_with_symlink
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 27 Mar 2025 12:35:58 +0000 (13:35 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 27 Mar 2025 12:35:58 +0000 (13:35 +0100)
Gbp-Pq: Name icc_loading_with_symlink.diff

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

index da14d24892680563f7b693cd24bc5492ca7b7da4..955b42f9d0ce41d20018ef5c0a9b44baccc0846b 100644 (file)
@@ -1327,9 +1327,6 @@ public class ICC_Profile implements Serializable {
                 dir = st.nextToken();
                 fullPath = dir + File.separatorChar + fileName;
                 f = new File(fullPath);
-                if (!isChildOf(f, dir)) {
-                    f = null;
-                }
             }
         }