Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaDoc compilation fails with JDK8 #886

Closed
unoexperto opened this issue Feb 26, 2015 · 7 comments
Closed

JavaDoc compilation fails with JDK8 #886

unoexperto opened this issue Feb 26, 2015 · 7 comments
Assignees
Labels
Milestone

Comments

@unoexperto
Copy link

JavaDoc compilation fails with JDK8 with multiple errors

Invalid “self-closing element not allowed”

Additional parameter -Xdoclint:none should be specified in main pom.xml

33b7708

@fehguy fehguy modified the milestone: v1.5-M2 Mar 4, 2015
@fehguy
Copy link
Contributor

fehguy commented Mar 11, 2015

@webron looks like the errors are because of more strict parsing of javadoc tags. The @return value needs to be set for each method or it'll fail to build on java8. Can you please help with this one?

@webron
Copy link
Contributor

webron commented Mar 12, 2015

I've made some fixes (not pushed yet) that caused a the javadocs generation to fail. However, I didn't encounter the issue @CPPExpert encountered. How did you run the javadoc compilation? Perhaps I need to test something else that I hadn't.

@fehguy
Copy link
Contributor

fehguy commented Mar 12, 2015

Make sure you have Java 8 and run mvn install

@webron
Copy link
Contributor

webron commented Mar 12, 2015

I have. Not getting the error the OP did. Got other javadoc-related errors which I'd fixed, but definitely not Invalid “self-closing element not allowed”.

@unoexperto
Copy link
Author

JFYI I've got that error under JDK8u40 under Windows 7 64bit.

@fehguy
Copy link
Contributor

fehguy commented Mar 12, 2015

I fixed the self-closing element issues. e11fb95

@webron
Copy link
Contributor

webron commented Mar 12, 2015

@fehguy - duh, thanks for the update. I'll push the rest of the fixes.

webron added a commit that referenced this issue Mar 12, 2015
@webron webron closed this as completed Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants