Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Fix build on Java 8 #122

Merged
merged 1 commit into from Feb 5, 2015
Merged

Fix build on Java 8 #122

merged 1 commit into from Feb 5, 2015

Conversation

catap
Copy link
Contributor

@catap catap commented Jan 27, 2015

When I tried to build mongo-hadoop on java 8 I had errors likes:

MongoConfigUtil.java:173: error: self-closing element not allowed
     * <p/>
       ^

It seems that for JDK 8 it has been decided that tags like
and

should generate errors, because they are invalid (strict) HTML 4.

Good discussion about this on JDK mail list: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019261.html

When I tried to build mongo-hadoop on java 8 I had errors likes:

```
MongoConfigUtil.java:173: error: self-closing element not allowed
     * <p/>
       ^
```

It seems that for JDK 8 it has been decided that tags like <br /> and <p /> should generate errors, because they are invalid (strict) HTML 4.

Good discussion about this on JDK mail list: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019261.html
@llvtt
Copy link

llvtt commented Feb 5, 2015

Thanks for the PR! I also went through and fixed all the doclint errors under Java 8.

llvtt pushed a commit that referenced this pull request Feb 5, 2015
Fix build on Java 8 by silencing doclint errors.
@llvtt llvtt merged commit d8dd815 into mongodb:master Feb 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants