[QFJ-827] quickfixj-core build failure when generating javadocs on JDK8 Created: 07/Feb/15  Updated: 02/Apr/15  Resolved: 09/Feb/15

Status: Closed
Project: QuickFIX/J
Component/s: Build
Affects Version/s: 1.5.3
Fix Version/s: 1.6.0

Type: Bug Priority: Default
Reporter: kammo Assignee: Christoph John
Resolution: Fixed Votes: 0
Labels: None


 Description   

It is throwing error while executing java-doc build. Below is trimmed snippet of the error log.

[ERROR] * @throws ConfigError
[ERROR] ^
[ERROR] C:\Users\Moliya\Documents\quickfixj-master\quickfixj-core\src\main\java\
quickfix\SessionSettings.java:564: error: block element not allowed within inlin
e element <code>: pre
[ERROR] * <code><pre>
[ERROR] ^
[ERROR]
[ERROR] Command line was: "C:\Program Files\Java\jdk1.8.0_31\jre\..\bin\javadoc.
exe" -J-Xmx1536m @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'C:\Users\Moliya\Documents\quick
fixj-master\quickfixj-distribution\target\site\apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]



 Comments   
Comment by Christoph John [ 07/Feb/15 ]

Hi, I cannot reproduce this. What exactly did you do? Checked out from github?
I see you are using JDK8. Could you please check if JDK7 or 6 give the same error?
This is the build on the build server which runs fine (with JDK6, though): http://www.quickfixj.org:8085/browse/QFJ-GIT

Comment by kammo [ 07/Feb/15 ]

I felt the same that it could be jdk issue.

Comment by Christoph John [ 08/Feb/15 ]

I could reproduce this with JDK8. Seems to be caused by the DocLint feature of JDK8. http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete

Comment by Christoph John [ 09/Feb/15 ]

For the time being we will disable the DocLint feature for JDK8+.

Generated at Sat Nov 23 00:30:45 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.