Hi,
During my work on object based annotations I realized it would be more
efficient not to look for TCCL upon every call to "load class" (when
default loader does not match the annotation).
It might be more effective to look it up upon stream creation and using
it subsequently for class loader selection.
But this might change semantics of deserialization a little bit - it
would not be possible to change the context loader during deserialization.
My question is - are there any scenarios that require that?
I cannot think of any but...
Thanks,
Michal