-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 19
-
Component/s: tools
-
b03
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8322084 | 22 | Adam Sotona | P3 | Closed | Won't Fix | |
| JDK-8327262 | 21.0.4-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
| JDK-8328514 | 21.0.4 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
For example, there is a utility method walking up the file hierarchy in a search for "src" directory: snippets.SnippetUtils.findSourceDir() (in test/langtools/tools/lib/snippets/SnippetUtils.java). Couple of tests which use the method:
tools/javac/api/snippets/TestJavaxToolsSnippets.java
jdk/javadoc/doclet/testDocletExample/TestDocletExample.java
Tests should be fixed not to rely on the file hierarchy.
- backported by
-
JDK-8327262 Make tests not depend on the source code
-
- Resolved
-
-
JDK-8328514 Make tests not depend on the source code
-
- Resolved
-
-
JDK-8322084 Make tests not depend on the source code
-
- Closed
-
- relates to
-
JDK-8280835 jdk/javadoc/tool/CheckManPageOptions.java depends on source hierarchy
-
- Closed
-
- links to
-
Commit
openjdk/jdk21u-dev/6632caa0
-
Commit
openjdk/jdk/2838a916
-
Review
openjdk/jdk21u-dev/373
-
Review
openjdk/jdk22/13
-
Review
openjdk/jdk/16470