Commit 4169b28
committed
Revamp classpath search to use normalized paths
On Windows with Java 11, the `java.class.path` property contains
backslash-escaped backslashes, as in "`C:\\foo\\bar`". These doubled
backslashes interfere with the logic for finding classpath entries that
contain the requested element. Using normalized paths for all
comparisons seems to fix the problem, and will likely be more robust in
general.1 parent 777303c commit 4169b28
File tree
1 file changed
+18
-17
lines changed- com.ibm.wala.core/src/testFixtures/java/com/ibm/wala/core/tests/util
1 file changed
+18
-17
lines changedLines changed: 18 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
0 commit comments