Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337136

Summary: with JDK 1.5, some of xmlconversionmanager tests failed
Product: z_Archived Reporter: Praba Vijayaratnam <prabaharan.vijayaratnam>
Component: EclipselinkAssignee: Rick Barkhouse <rick.barkhouse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rick.barkhouse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Proposed patch.
none
Proposed patch.
none
Proposed patch.
none
Proposed patch. none

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