Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279474

Investigate need for non-strict method match in JavacTypes

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3
    • None
    • None
    • tools
    • None

    Description

      JDK-8278373 fixes a bug in JavacTypes method lookup with an improved but compatible behavior. The behavior showed up various bugs in the generated JDK API docs for older versions of javadoc.

      We should investigate whether the older non-strict behavior is still needed and/or desirable, perhaps by disabling it and building the JDK API docs. If it is needed, maybe the behavior could be opt-in for a transition period until we can remove it.

      Related: javadoc could also give a warning if a non-exact match is found. The warning should come from javadoc, and not JavacTypes, because JavacTypes does not have access to the right reporting mechanisms, and anyway, we do not expect diagnostics (even warnings) from impls of Elements and Types.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: