martinrosstmc

Results 8 comments of martinrosstmc

It happens when both run the same version. Didn't try cross version. The issue we have reproducing it is that it because of Proxy classes and jboss class loading it...

I have confirmed that I can deserialize the object graph after serializing it in same VM. I don't see any exceptions. The failure happens in the MarshalledObject.java readObject method.... Not...

I think this was the commit for the security tightening https://github.com/dmlloyd/openjdk/commit/c1e6fc9445fa31b6058a758907e9bc8aa088a17d

Serializing MarshalledObject mo = new MarshalledObject("test"); byte barray2[] = conf.asByteArray(mo); oos.writeInt(barray2.length); oos.write(barray2); and deserializing int len2 = ((ObjectInputStream)inputStream).readInt(); byte buffer2[] = new byte[len2]; while (len2 >0) len2 -= inputStream.read(buffer2, buffer2.length...

One other comment. Regular java serialization works on the object.

So what is weird is that java.rmi.MarshalledObject for FSTClazzInfo has requiresCompatibilityMode = false . It looks like FSUtil.findPrivateMethod is throwing java.lang.NoSuchMethodException: java.rmi.MarshalledObject.readObject(java.io.ObjectInputStream) The issue is caused by addition of readObject...

Given that JDK 11 is out now can we drop 7 support so that we get these included? :) Also can we get a dependent project where we can put...