Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337136 - with JDK 1.5, some of xmlconversionmanager tests failed
Summary: with JDK 1.5, some of xmlconversionmanager tests failed
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Rick Barkhouse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 10:18 EST by Praba Vijayaratnam CLA
Modified: 2022-06-09 10:14 EDT (History)
1 user (show)

See Also:


Attachments
Proposed patch. (1.83 KB, patch)
2011-02-14 14:23 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch. (6.46 KB, patch)
2011-02-16 10:21 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch. (7.40 KB, patch)
2011-02-16 11:23 EST, Rick Barkhouse CLA
no flags Details | Diff
Proposed patch. (6.96 KB, patch)
2011-02-16 12:56 EST, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Praba Vijayaratnam CLA 2011-02-14 10:18:26 EST
This is code bug.

Test Env:
---------
EL 2.3.0.v20110212-r8960
JDK 1.5.0_22
RHLinux 64-bit


4 tests from each of the following testsuites failed while trying to compare results:
----------
org.eclipse.persistence.testing.oxm.docpres.xmlconversionmanager
org.eclipse.persistence.testing.oxm.xmlconversionmanager

Tests are similar to following, with exceptions are same:
---------------------------------------------------------
Java Project Source w/Doc Pres: DateAndTimeTestCase: testUtilDateToString_gMonth

-------------------
null expected:<--02[]> but was:<--02[--]>

junit.framework.ComparisonFailure: null expected:<--02[]> but was:<--02[--]>
at org.eclipse.persistence.testing.oxm.xmlconversionmanager.DateAndTimeTestCases.testUtilDateToString_gMonth(DateAndTimeTestCases.java:321)
Comment 1 Rick Barkhouse CLA 2011-02-14 14:23:39 EST
Created attachment 188937 [details]
Proposed patch.
Comment 2 Rick Barkhouse CLA 2011-02-16 10:21:29 EST
Created attachment 189104 [details]
Proposed patch.
Comment 3 Rick Barkhouse CLA 2011-02-16 11:23:43 EST
Created attachment 189112 [details]
Proposed patch.
Comment 4 Rick Barkhouse CLA 2011-02-16 12:56:32 EST
Created attachment 189122 [details]
Proposed patch.
Comment 5 Rick Barkhouse CLA 2011-02-16 16:21:23 EST
Fixed, reviewed by mmacivor.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:09:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:14:01 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink