You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "dennis lucero (JIRA)" <ji...@apache.org> on 2019/08/15 15:12:00 UTC

[jira] [Created] (NETBEANS-2991) Javadoc is taken from a JAR (Maven dependency) instead of the currently open file

dennis lucero created NETBEANS-2991:
---------------------------------------

             Summary: Javadoc is taken from a JAR (Maven dependency) instead of the currently open file
                 Key: NETBEANS-2991
                 URL: https://issues.apache.org/jira/browse/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
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists