-
Notifications
You must be signed in to change notification settings - Fork 228
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
jdk8 doclint incompatibility #58
Comments
THanks. I will get this fixed. On Mon, Jul 13, 2015 at 12:36 AM, judovana notifications@github.com wrote:
|
This works for me now. |
Hi!
Library do not compile with jdk8. Main Issue is javadoc error, "self-closing elements not allowed" and "mallformed html"
Simple auto-patching of first one can be done:
$ grep -ir -e "
"
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/TreeDigest.java: *
src/main/java/com/tdunning/math/stats/ArrayDigest.java: *
$ sed "s;
;
;g" -i src/main/java/com/tdunning/math/stats/TDigest.java
$ sed "s;
;
;g" -i src/main/java/com/tdunning/math/stats/TreeDigest.java
$ sed "s;
;
;g" -i src/main/java/com/tdunning/math/stats/ArrayDigest.java
$ grep -ir -e "
"
Whether to repalce by
oror just nothing is up to you.
I went with
jsut because it seemed to be most close to original idea.
Except the self closing element, there is huge nuyber of < and > chas i javadoc whcih have to berepalced by <> . I did this manually.
It resulted to:
http://pkgs.fedoraproject.org/cgit/t-digest.git/tree/jdk8-javadoc.patch?id=7c47e6cf5f8e8b7fd78bda838a78cbadd2da38a1
If you wont me to do an pull request with this patch, or with different replacement, I will be happy to proceed.
In all cases, it would be nice to have t-digest buildbale by jdk8 (as I have now - http://koji.fedoraproject.org/koji/taskinfo?taskID=10338753)
The text was updated successfully, but these errors were encountered: