This sounds like a NetBeans bug. In JDK 10, "element-list" was added to better support modules. So, does NetBeans work with other modern Javadocs?
Maybe there is something subtler: does a library in a JDK 8 project display Javadoc 11-style documentation? --emi On Wed, Nov 27, 2019 at 4:45 PM A S <abhinav.sharma.s...@gmail.com> wrote: > > Hello, > > I am only sporadically using Netbeans for some small projects, so my > apologies if the question is too amateurish. I was previously using Netbeans > 8.2, and the platform I was working with was Java 8. > > With a change to JDK 11 for the project, I switched up to Apache Netbeans > 11.2. For one of the libraries that I am using for the project, when I try to > add the Javadoc to the library, Netbeans complains because no package-list > exist. I see that the JDK 11 version has an 'element-list' in the javadoc > folder with contents similar to the 'package-list' of JDK 8 version. If I > copy the element-list and rename the file to package-list, Netbeans seems to > be able to add the Javadoc. However this only allows the path to be added as > javadoc, and the documentation isn't actually available when referencing a > method in the editor. > > My google searches are quit inconclusive on whether there is a way to read > such a Javadoc from Netbeans. Does anyone have a concrete answer on whether > this is possible? If yes, how? > > Best regards > Abhinav Sharma --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists