JDK-8163386 : [Doclet] address interfaceTypesOf
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2016-08-08
  • Updated: 2017-11-29
  • Resolved: 2017-11-29
Related Reports
Relates :  
Description
Initial assessment is that this does not need a new API, seems like a bug in the doclet implementation handling TypeParameters for inherited interface methods, for instance:
All Implemented Interfaces:
    Serializable, Comparable<ElementKind>
instead we get
All Implemented Interfaces:
    Serializable, Comparable<E> <---- looks getDeclaredTypes are not being applied correctly.
Comments
This was removed with the fix for JDK-8182108, thus no longer an issue.
29-11-2017

Got it to work now.
28-11-2017

What about the following comment on interfaceTypesOf: // TODO: jx.l.m directSuperTypes don't work for things like Enum, // so we use javac directly, investigate why jx.l.m is not cutting it.
28-11-2017

The fix for JDK-8182108 will eliminate the dependency and this subtask can be closed.
28-11-2017