-
Bug
-
Resolution: Won't Fix
-
P2
-
9, 10
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8180329 | 10 | Christian Tornqvist | P2 | Resolved | Fixed | b08 |
JDK-8284763 | 8u341 | David Buck | P2 | Closed | Fixed | b03 |
The following tests fail when the jtreg workdir is not on the same drive as the source code for the tests:
tools/javac/processing/errors/StopOnInapplicableAnnotations/Source.java
tools/javac/warnings/suppress/Overridden.java
tools/javac/warnings/suppress/T6480588.java
tools/javac/warnings/suppress/T6707032.java
tools/javac/warnings/suppress/T8021112b.java
tools/javac/warnings/suppress/T8069094.java
The problem is that they're not using the File.pathSeparator when splitting path's on Windows, the reason why it usually work is that c:\\directory\\other turns into \\directory\\other when it's split using ":" and this works as long as the current working directory is on the same drive as the source path.
tools/javac/processing/errors/StopOnInapplicableAnnotations/Source.java
tools/javac/warnings/suppress/Overridden.java
tools/javac/warnings/suppress/T6480588.java
tools/javac/warnings/suppress/T6707032.java
tools/javac/warnings/suppress/T8021112b.java
tools/javac/warnings/suppress/T8069094.java
The problem is that they're not using the File.pathSeparator when splitting path's on Windows, the reason why it usually work is that c:\\directory\\other turns into \\directory\\other when it's split using ":" and this works as long as the current working directory is on the same drive as the source path.
- backported by
-
JDK-8180329 A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
- Resolved
-
JDK-8284763 A few javac tests fail on Windows when the source and jtreg work dir are not on the same drive
- Closed