Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332651 - Dynamic JAXB: issues with generic method signatures
Summary: Dynamic JAXB: issues with generic method signatures
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 11:02 EST by David McCann CLA
Modified: 2022-06-09 10:23 EDT (History)
0 users

See Also:


Attachments
Proposed fix (3.38 KB, patch)
2010-12-15 11:02 EST, David McCann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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