JDK-8000414 : Refactor javadoc to provide and use an abstraction for relative paths
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-10-04
  • Updated: 2012-10-26
  • Resolved: 2012-10-26
Related Reports
Duplicate :  
Relates :  
Description
javadoc currently uses Strings to represent relative paths, leading to a complications maintaining invariants regarding separators, and a number of abuses where intended invariants are not maintained, such as "paths" containing URI query strings.

It would be better to wrap such strings in a new abstraction that can enforce the appropriate invariants.