- 
    Bug 
- 
    Resolution: Fixed
- 
     P2 P2
- 
    9
- 
        b162
- 
        generic
- 
        generic
- 
        Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8177601 | 10 | Kumar Srinivasan | P2 | Resolved | Fixed | b04 | 
                    Supposing one has the following command:
% javadoc --patch-module=java.base=/some/directory/src/share/classes -d out.dir java.lang.invoke
the location is not computed correctly
The reason is because:
http://hg.openjdk.java.net/jdk9/dev/langtools/file/414788bbc0ab/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ElementsTable.java#l205
The location will be set to CLASS_PATH and no sources will be found to document.
javac must be able to handle the --patch-module and return an appropriate location.
% javadoc --patch-module=java.base=/some/directory/src/share/classes -d out.dir java.lang.invoke
the location is not computed correctly
The reason is because:
http://hg.openjdk.java.net/jdk9/dev/langtools/file/414788bbc0ab/src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/ElementsTable.java#l205
The location will be set to CLASS_PATH and no sources will be found to document.
javac must be able to handle the --patch-module and return an appropriate location.
- backported by
- 
                    JDK-8177601 javadoc does not handle Locations correctly with --patch-module -           
- Resolved
 
-         
- blocks
- 
                    JDK-8175277 javadoc AssertionError when specified with release 8 -           
- Closed
 
-         
- duplicates
- 
                    JDK-8175957 javadoc crashes with missing module-source-path -           
- Closed
 
-         
- is blocked by
- 
                    JDK-8175057 module-info on patch path should not produce an error -           
- Closed
 
-         
- 
                    JDK-8175505 javac emits "error module-info not allowed on patch path" -           
- Closed
 
-