Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358367 - CloneUtility fails with some array types
Summary: CloneUtility fails with some array types
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 04:10 EDT by Ivan Motsch CLA
Modified: 2021-08-19 11:30 EDT (History)
1 user (show)

See Also:


Attachments
Patch to solve issue (940 bytes, patch)
2011-09-21 04:13 EDT, Ivan Motsch CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Motsch CLA 2011-09-21 04:10:44 EDT
CloneUtility uses ClassLoader.loadClass to do deep cloning.
loadClass fails on some class arrays.

Solution: Instead it is recommended to use Class.forName(ClassLoader) instead.
Comment 1 Ivan Motsch CLA 2011-09-21 04:13:08 EDT
Created attachment 203732 [details]
Patch to solve issue
Comment 2 Ivan Motsch CLA 2011-09-21 04:51:19 EDT
Applied patch to fix issue
Comment 3 Matthias Zimmermann CLA 2011-10-11 02:58:55 EDT
shipped with 3.7.1