You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/06/10 17:56:17 UTC

[GitHub] [geode] pivotal-jbarrett commented on pull request #7211: GEODE-10354: Convert enum like classes to enum.

pivotal-jbarrett commented on PR #7211:
URL: https://github.com/apache/geode/pull/7211#issuecomment-1152603251

   > I did a quick test, and it looks like this is a breaking change to the serialization format of this class. I think that's why we haven't made this conversion up to this point:
   > 
   > ```
   > Caused by: java.io.InvalidClassException: cannot bind non-enum descriptor to an enum class
   > 	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:687)
   > 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1885)
   > 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
   > 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
   > 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
   > 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431)
   > 	at org.apache.geode.internal.InternalDataSerializer.readSerializable(InternalDataSerializer.java:2720)
   > ```
   
   Which test?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org