E
Evan Bleicher
Guest
As noted by Shelley and Laura the AVM’s reflection infrastructure can be enhanced to support accessing non-public data members via reflection. From a historical perspective, when this feature was designed and built during the 11.6.0 time-frame we reviewed .NET’s and Java’s reflection capabilities. These two frameworks approach this facility differently. Via reflection, .NET provides functionality to access non-public data members and Java by default prohibits this access. There are facilities within Java to mimic the .NET functionality. The approach we identified at the time was to introduce a more restrictive solution in 11.6.0 (access to Public data member values only) with the possibility of relaxing this restriction in a future release. One area of discussion was to better understand the use case for accessing non-public data members via reflection. Can the Community comment on how they plan on using such a facility?
Continue reading...
Continue reading...