dennis lucero created NETBEANS-2991:

             Summary: Javadoc is taken from a JAR (Maven dependency) instead of 
the currently open file
                 Key: NETBEANS-2991
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.1, 11.0
         Environment: Windows 10
            Reporter: dennis lucero
         Attachments: NetBeansJavadocFromJAR.png

The Javadoc window displays the Javadoc of the current file. But after having 
opened a file with the same package and class name from a Maven dependency, the 
Javadoc window displays the Javadoc from the dependency, even after that file 
was closed.

Steps to reproduces:
 # Create a Maven project
 # Add a dependency
 # Download Javadoc and sources for the dependency
 # Open one of the dependency’s files
 # Save the source file in your local filesystem
 # Open the copy and modify the Javadoc

Expected result:

Javadoc window should show your modifications

Actual result:

Javadoc window still shows the Javadoc from the JAR.

After restarting NetBeans, the modified Javadoc is shown, but it is replaced 
with the text from the JAR after a few seconds (during “Refreshing indices”).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

Reply via email to