Package: openjdk-24 / 24.0.2+12-1

icc_loading_with_symlink.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
+++ b/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
@@ -1315,9 +1315,6 @@ public sealed class ICC_Profile implemen
                 dir = st.nextToken();
                 fullPath = dir + File.separatorChar + fileName;
                 f = new File(fullPath);
-                if (!isChildOf(f, dir)) {
-                    f = null;
-                }
             }
         }