You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Christopher HORLER (JIRA)" <ja...@ws.apache.org> on 2011/05/12 21:53:47 UTC
[jira] [Created] (JAXME-107) SVN test case failure in Marshaller
when system is on BST
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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Updated] (JAXME-107) SVN test case failure in Marshaller
when system is on BST
Posted by "Christopher HORLER (JIRA)" <ja...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JAXME-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher HORLER updated JAXME-107:
-------------------------------------
Attachment: MarshallerTest.diff
proposed fix for test case
> 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
> Labels: build, testsuite
> Fix For: 0.6
>
> Attachments: MarshallerTest.diff
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org