[
https://issues.apache.org/jira/browse/AMQ-6176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154389#comment-15154389
]
Jamie goodyear commented on AMQ-6176:
-------------------------------------
Hmm.. I've git cloned AMQ, and checked out the AMQ 5.13.1 tag.
When i try to build it I see:
Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec <<<
FAILURE! - in org.apache.activemq.broker.scheduler.CronParserTest
testgetNextTimeMinutes(org.apache.activemq.broker.scheduler.CronParserTest)
Time elapsed: 0.004 sec <<< FAILURE!
java.lang.AssertionError: expected:<600000> but was:<2400000>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.activemq.broker.scheduler.CronParserTest.testgetNextTimeMinutes(CronParserTest.java:276)
Results :
Failed tests:
CronParserTest.testgetNextTimeMinutes:276 expected:<600000> but was:<2400000>
[INFO] Reactor Summary:
[INFO]
[INFO] ActiveMQ ........................................... SUCCESS [ 0.937 s]
[INFO] ActiveMQ :: Openwire Generator ..................... SUCCESS [ 1.140 s]
[INFO] ActiveMQ :: Client ................................. FAILURE [ 59.076 s]
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2016-02-19T12:25:54-03:30
[INFO] Final Memory: 56M/951M
Here is my environment:
Jamies-iMac:amq5131 jgoodyear$ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T13:11:47-03:30)
Maven home: /x1/tools/apache-maven-3.3.9
Java version: 1.8.0_73, vendor: Oracle Corporation
> Update Saxon version to 9.5.1-5_1
> ---------------------------------
>
> Key: AMQ-6176
> URL: https://issues.apache.org/jira/browse/AMQ-6176
> Project: ActiveMQ
> Issue Type: Improvement
> Affects Versions: 5.13.1, 5.14.0
> Reporter: Jamie goodyear
> Fix For: 5.14.0, 5.13.2
>
> Attachments: amq-5.13.x.patch, amq-master.patch
>
>
> I had some Camel routes running embedded in the broker that were using xpath
> filters and were throwing exceptions from Saxon until I upgraded the Saxon
> dependency. The exceptions only occurred when running the broker with Java 8
> but not Java 7.
> This is not the most recent version of the JAR. However, it is the earliest
> version where the bug appears to be fixed (trying not to make too many
> changes at once).
> I'll supply patch files shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)