icc_loading_with_symlink
authorOpenJDK Team <openjdk-17@packages.debian.org>
Mon, 24 Jul 2023 09:57:34 +0000 (10:57 +0100)
committerMoritz Mühlenhoff <jmm@debian.org>
Mon, 24 Jul 2023 09:57:34 +0000 (10:57 +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;
-                }
             }
         }