Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8117

groovydoc links to a wrong type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.4.10
    • Fix Version/s: 2.4.11
    • Component/s: GroovyDoc
    • Labels:
      None

      Description

      When I generate groovydocs for the following class:

      FooAdapter.groovy
      import api.Foo
      import lib.Foo as FooImpl
      
      class FooAdapter implements Foo {
          FooAdapter(FooImpl foo) {}
      }
      

      where some API defines:

      api/Foo.java
      package api;
      public interface Foo {}
      

      and some library defines:

      lib/Foo.java
      package lib;
      public class Foo {}
      

      then in the documentation the implemented interface "Foo" links to lib/Foo.html instead of api/Foo.html.

        Attachments

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              vmj Mikko Värri
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: