Details
Description
Proxy classes (usually via CGLIB proxies) need to be identified as proxies and treated in such a way that the proxy enhancements do not interfere with marshalling/unmarshalling. Two different issues have arisen with proxies:
http://www.mail-archive.com/user@castor.codehaus.org/msg02345.html
http://www.mail-archive.com/user@castor.codehaus.org/msg02489.html
First and foremost, Castor needs to identify when an object/class is a proxy instead of the real thing. According to the CGLIB mailing list:
http://sourceforge.net/mailarchive/message.php?msg_id=9827333
this can be done by finding if a class is an implementation of the net.sf.cglib.proxy.Factory interface (this may need to be user adjustable for other proxying libraries – if there are any).
Once the proxy has been identified, this issue may need to be split into three sub-issues:
- Looking up ClassDescriptors based on a proxy class (get the proxy's superclass to look up?)
- Introspecting proxy classes (don't introspect the proxy, introspect the original?)
- Mapping proxy classes (not sure about this one... maybe the previous two will solve this one)
| 1. | Add test for special processing of proxied objects to XML test suite | |
|
Unassigned |
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.0 M4 [ 12414 ] |
| Assignee | Stephen Bash [ bash ] |
| Fix Version/s | 1.0 [ 11700 ] | |
| Fix Version/s | 1.0 M4 [ 12414 ] |
| Fix Version/s | 1.0 [ 11700 ] | |
| Fix Version/s | 1.0.1 [ 12535 ] |
| Fix Version/s | 1.1 [ 11701 ] | |
| Fix Version/s | 1.0.1 [ 12535 ] |
| Attachment | castor-testcase-proxy.jar [ 22466 ] |
| Assignee | Stephen Bash [ bash ] | Werner Guttmann [ wguttmn ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
| Attachment | castor-testcase-proxy_marsh_unmarsh.jar [ 22497 ] |
| Attachment | patch.c1342.20080827.txt [ 22499 ] |
| Status | In Progress [ 3 ] | Open [ 1 ] |
| Fix Version/s | 1.1.1 [ 13080 ] | |
| Fix Version/s | 1.1 [ 11701 ] |
| Fix Version/s | 1.2 [ 13081 ] | |
| Fix Version/s | 1.1.1 [ 13080 ] |
| Fix Version/s | 1.1.2 [ 13440 ] | |
| Fix Version/s | 1.2 [ 13081 ] |
| Fix Version/s | 1.1.3 [ 13559 ] | |
| Fix Version/s | 1.1.2 [ 13440 ] |
| Attachment | patch-C1342-20070621.txt [ 28093 ] |
| Assignee | Werner Guttmann [ wguttmn ] | Ralf Joachim [ rjoachim ] |
| Attachment | patch-C1342-20070719-01.txt [ 28499 ] |
| Attachment | patch-C1342-20070724-01.txt [ 28597 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Attachment | patch.c1342.20080827.txt [ 22499 ] |
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |