Bug 388222 - RepositoryClientManager fails to deserialize configs with arrays
Summary: RepositoryClientManager fails to deserialize configs with arrays
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.8.2   Edit
Assignee: Benjamin Muskalla CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2012-08-28 09:16 EDT by Benjamin Muskalla CLA
Modified: 2012-09-10 20:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2012-08-28 09:16:12 EDT
Using RepositoryClientManager and a repository configuration holding on an array fails to deserialze on startup. The reason for this is a JVM "fix" in > 1.5 that loadClass doesn't properly handle arrays anymore (it essentially tries to load a class called @[Lyourclass;@ instead of @yourclass@ (and thus ending in a ClassDefNotFoundError)
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6500212

We should see if the manager could use Class.forName with the corresponding classloader to avoid this restriction.
Comment 1 Steffen Pingel CLA 2012-09-05 18:49:23 EDT
Benny, do you have time to look into fixing that so we can include it in Juno SR1?
Comment 2 Benjamin Muskalla CLA 2012-09-06 05:31:42 EDT
Review is at https://git.eclipse.org/r/7637
Comment 3 Steffen Pingel CLA 2012-09-10 20:25:46 EDT
Change merged into master and 3.8.x branch. Thanks for the contribution!