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

Bug 332651

Summary: Dynamic JAXB: issues with generic method signatures
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description David McCann CLA 2010-12-15 11:02:25 EST
Recently, a change has been made to the signatures of a number of create methods on DynamicContextFactory as well as two constructors (Metadata and OXMMetadata).  The change was from:

  Map<String, Map<String, Source>>

to:

  Map<String, Object>

This change is causing compile errors in existing code/tests that still pass in a Map<String, Map<String, Source>>.

Instead of 'Object', '?' should be used, i.e.:

  Map<String, ?>
Comment 1 David McCann CLA 2010-12-15 11:02:45 EST
Created attachment 185235 [details]
Proposed fix
Comment 2 David McCann CLA 2010-12-15 11:06:42 EST
Reviewed by:  rick.barkhouse@oracle.com; blaise.doughan@oracle.com
Tests:  all unit tests pass as expected
Revision: 8711
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:16:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:23:01 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink