icc_loading_with_symlink
authorOpenJDK Team <openjdk-17@packages.debian.org>
Fri, 11 Nov 2022 07:39:25 +0000 (07:39 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 11 Nov 2022 07:39:25 +0000 (07:39 +0000)
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;
-                }
             }
         }