Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #10407

java9 javadoc errors (package htsjdk debianmed)

From olivier sallou <osallou@debian.org>
Newsgroups linux.debian.maint.java
Subject java9 javadoc errors (package htsjdk debianmed)
Date 2018-04-16 18:10 +0200
Message-ID <vFeRz-JQ-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I face several javadoc errors (ending with NullPointerException) with
openjdk 9 while updating package htsjdk.

I saw on internet several bugs related to javadoc.

Error ends with :

    javadoc: error - An exception occurred while building a component:
TagInfo
         (java.lang.NullPointerException)

If I delete impacted files from doc, I go further but many files are
impacted.

Anyone faced and could solve this?
It used to work on JDK8.

Example impacted "doc":

    /**
     * Calls close() on all elements of <code>objs</code> that implement
Closeable
     *
     * @param objs   A list of potentially closeable objects
     *
     * NOTE: This method must take a List<? extends Object>, not
List<Object>, otherwise the overload above will be selected
     * if the argument is not exactly List<Object>.
     */

Removing the last 2 lines part works.

Last option would be to remove javadoc package or patch all files... :-(

Olivier

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar | Unroll thread


Thread

java9 javadoc errors (package htsjdk debianmed) olivier sallou <osallou@debian.org> - 2018-04-16 18:10 +0200
  Re: java9 javadoc errors (package htsjdk debianmed) olivier sallou <olivier.sallou@gmail.com> - 2018-04-16 18:20 +0200

csiph-web