Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2809

Navigate to implementation does not work for modular (JPMS) projects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0
    • Fix Version/s: None
    • Component/s: editor - Navigation
    • Labels:
      None

      Description

      When editing an interface, neither "navigate to implementation" (of the interface or one of its methods) works nor any gutter icon is shown. If you remove all module-info files, it works as expected.

      Steps to reproduce:

      Run the quickstart at https://bitbucket.org/krake-oss/tentackle/src/master/ (section "Project Setup" is sufficient, java 11 or newer, maven 3.6.0 or newer):

      mvn archetype:generate -DarchetypeGroupId=org.tentackle -DarchetypeArtifactId=tentackle-project-archetype -DarchetypeVersion=11.4.0.0 -DgroupId=com.example -DartifactId=myapp -Dversion=1.0 -Dpackage=com.example.myapp -Dapplication=MyApp

      mvn clean install

      Open the class MessageDomainImpl.

      Click on the "implements" icon next to "public Message create(...)". The interface MessageDomain will be opened, but there are no gutter icons shown and you cannot navigate back to the implementations.

      Remove all module-info.java files and it works as expected.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harrkra Harald Krake
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: