Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #10407 > unrolled thread
| Started by | olivier sallou <osallou@debian.org> |
|---|---|
| First post | 2018-04-16 18:10 +0200 |
| Last post | 2018-04-16 18:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.java
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
| From | olivier sallou <osallou@debian.org> |
|---|---|
| Date | 2018-04-16 18:10 +0200 |
| Subject | java9 javadoc errors (package htsjdk debianmed) |
| Message-ID | <vFeRz-JQ-9@gated-at.bofh.it> |
[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
[toc] | [next] | [standalone]
| From | olivier sallou <olivier.sallou@gmail.com> |
|---|---|
| Date | 2018-04-16 18:20 +0200 |
| Message-ID | <vFf1g-Nh-9@gated-at.bofh.it> |
| In reply to | #10407 |
[Multipart message — attachments visible in raw view] — view raw
Le lun. 16 avr. 2018 à 18:05, olivier sallou <osallou@debian.org> a écrit : > 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. > It also occured on other files after a warning (not error): /opt/debian/build-area/htsjdk-2.14.3+dfsg/src/main/java/htsjdk/samtools/util/BlockGunzipper.java:104: warning - Parameter "compressedBlock" is documented more than once. Removing duplicate declaration works. But javadoc should not fail on a warning... (with an exception). I am using opensjdk-9-jdk 9.0.4+12-4 > > Last option would be to remove javadoc package or patch all files... :-( > > > Olivier >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.java
csiph-web