A discussion about real-world modularity
sanjeeb.sahoo at oracle.com
Fri May 11 03:35:46 PDT 2012
On Thursday 10 May 2012 07:40 PM, David M. Lloyd wrote:
> Either way the class data is written using a class resolver. This is
> basically equivalent to overriding
> ObjectInputStream#resolve[Proxy]Class() and
> ObjectOutputStream#annotate[Proxy]Class(). The module identity is
> written out and re-read and used to select the appropriate class loader.
This is how we have solved serialization issue in GlassFish project as
well. We write out OSGi bundle information in the stream.
More information about the jigsaw-dev