CDV ❯ support "sharing" of reflection objects (Field, Constructor, etc)
-
New Feature
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
-
-
hhuynh
-
Reporter: teck
-
July 19, 2006
-
0
-
Watchers: 0
-
March 27, 2008
-
July 06, 2007
Description
At the moment you cannot share an instance of java.lang.reflect.Field (or Method, Constructor, etc). It wouldn’t take much work to support these guys. By itself, the use case for sharing reflection objects seems kinda silly, but it’s not unreasonable that some other higher level object might have references to things like this. If they just worked out of the box, the world would be a better place.
This originally came up at a customer site where they were trying to share and instance of org.apache.commons.beanutils.BasicDynaClass as part of DSO session enabled web app
Comments
Tim Eck 2007-07-03
Antonio Si 2007-07-06
Fix it as part of fixing DEV-757. Add test cases to AccessibleObjectTest.
I think Antonio is going to implement this to support some Hibernate stuff