SVN test case failure in Marshaller when system is on BST 
----------------------------------------------------------

                 Key: JAXME-107
                 URL: https://issues.apache.org/jira/browse/JAXME-107
             Project: JaxMe
          Issue Type: Bug
          Components: JaxMe Core
    Affects Versions: 0.6
         Environment: openSUSE 11.4 / Java / javac Sun 1.6.0_24 / x86

            Reporter: Christopher HORLER
            Priority: Blocker
             Fix For: 0.6


When compiling I get a test case failure in the MarshallerTest.java - this 
seems to be due to some kind of timezone interpretation issue.  I think the 
problem is with the testcase and not Jax itself.  If I'm reading the code 
correctly a Date is retrieved from a Calendar object with the timezone set to 
GMT, subsequently this is retrieved and output with a custom Format class using 
SimpleDateFormat.  I think the Date stores UTC and the SimpleDateFormat outputs 
to the system timezone (although I didn't check this not being clued up on 
where I could find the xml string output).  The attached patch (assuming I can 
attach a patch in a moment) fixes this against SVN and allows the test case to 
pass on my system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to