Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0
-
Windows 8.1 Java 1.8
Description
I just wanted to let everyone know, the OpenNLP project is not compatible with the new Java 1.8.
I get two (2) issues:
1) Fails test:
Failed tests:
testPerceptronOnPrepAttachDataWithStepSizeDecrease(opennlp.tools
.ml.perceptron.PerceptronPrepAttachTest):
expected:<0.7756870512503095> but was:
<0.7766773953948998>
2) Java document generation fails miserably.
[ERROR] * <li>.bin --> the file is binary
[ERROR] ^
[ERROR]
C:\Users\jkosin\Documents\Projects\OpenNLP\opennlp\opennlp-tools\src\mai
n\java\opennlp\tools\ml\perceptron\SuffixSensitivePerceptronModelWriter.java:41:
error: bad use of '>'
[ERROR] * <li>.bin --> the file is binary
[ERROR] ^
[ERROR]
C:\Users\jkosin\Documents\Projects\OpenNLP\opennlp\opennlp-tools\src\mai
n\java\opennlp\tools\postag\POSModel.java:64: error: reference not found
The second for javadoc errors are probably due to more stringent checking in javadoc.
The first... is a bit disconcerting and troubling. I'm going to check into this; because this error shouldn't be happening.
Attachments
Attachments
Issue Links
- is related to
-
EMAIL-136 Fix Javadoc 1.8 errors
- Closed