Closed justinuliu closed 1 month ago
Same test seems to be passing on
(base) ng98@MacBook-Pro-2 justinuliu % git remote -v
origin https://github.com/justinuliu/moa.git (fetch)
origin https://github.com/justinuliu/moa.git (push)
(base) ng98@MacBook-Pro-2 justinuliu % git branch
* master
(base) ng98@MacBook-Pro-2 justinuliu % git reflog
5168fda (HEAD -> master, origin/master, origin/HEAD) HEAD@{0}: clone: from https://github.com/justinuliu/moa.git
(base) ng98@MacBook-Pro-2 justinuliu % java --version
openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
(base) ng98@MacBook-Pro-2 justinuliu % mvn clean package -Dmaven.javadoc.skip=true -Dskip.pdf=true -Dtest="AdaHoeffdingOptionTreeTest"
:
:
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.013 sec - in moa.classifiers.trees.AdaHoeffdingOptionTreeTest
The test passes with Oracle-JDK-17 but fails with OpenJDK-22 and Oracle-JDK-22. It seems a matter of JVM version. The error is a difference in the length of the decimal. JDK-22 is one decimal less than JDK-17.
It seems this bug has been solved by #302