File: icc_loading_with_symlink.diff

package info (click to toggle)
openjdk-26 26~17ea-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 833,384 kB
  • sloc: java: 5,681,216; cpp: 1,339,333; xml: 1,321,153; ansic: 488,426; asm: 404,003; objc: 21,113; sh: 14,905; javascript: 13,281; python: 8,348; makefile: 2,514; perl: 357; awk: 351; pascal: 103; exp: 83; sed: 72; jsp: 24
file content (12 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (6)
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;
-                }
             }
         }