| Summary: | Eliminate duplicate object instantiation code and its exception handling | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Created attachment 191077 [details]
ClassUtil
Committed patch to CVS HEAD. It introduces a ClassUtil class with overloaded newInstance() methods to create an instance from * a given class * a given class name and class loader * a given class and using the constructor derived from the given argument types An unchecked ClassInstantiationException is thrown in case of any error during instantiation. All places where instances where created _manually_ were replaced by calls to ClassUtil#newInstance(). |