-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 11, 17
-
Component/s: core-libs
-
b08
-
windows
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8300747 | 17.0.8-oracle | Ryan Wallace | P4 | Resolved | Fixed | b01 |
| JDK-8295279 | 17.0.6 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
| JDK-8355361 | 11.0.29-oracle | Hari Rakesh | P4 | Resolved | Fixed | b01 |
In a short test I changed the regex to match $ instead of \n in the end and added the MULTILINE flag.
Pattern.compile("([^\\s]+)\\s+(\\d+)\\s+\\d+\\s+(\\d+)\\s+\\d+%\\s+([^\\s].*)$", Pattern.MULTILINE);
This let the test pass in our infrastructure.
Output of a failing test:
----------System.out:(24/869)----------
--- Testing df
C:/cygwin64 998257472 664791328 333466144 67% /
K: 262144000 129993392 132150608 50% /cygdrive/k
O: 734003200 641218112 92785088 88% /cygdrive/o
SecurityManager = null
C:/cygwin64:
df total= 1022215651328 free = 0 usable = 341469331456
getX total= 1022215651328 free = 341469323264 usable = 341469323264
::
df total= 268435456000 free = 0 usable = 135322222592
getX total= 0 free = 0 usable = 0
FAILED
The drives K: and O: are mapped network drives.
- backported by
-
JDK-8295279 test/java/io/File/GetXSpace.java fails on Windows with mapped network drives.
-
- Resolved
-
-
JDK-8300747 test/java/io/File/GetXSpace.java fails on Windows with mapped network drives.
-
- Resolved
-
-
JDK-8355361 test/java/io/File/GetXSpace.java fails on Windows with mapped network drives.
-
- Resolved
-
- relates to
-
JDK-6501010 test/java/io/File/GetXSpace.java fails on Windows
-
- Resolved
-
- links to
-
Commit
openjdk/jdk17u-dev/58b43636
-
Commit
openjdk/jdk/178ac746
-
Review
openjdk/jdk17u-dev/781
-
Review
openjdk/jdk/7170