CDV ❯ use of classes named as priimitive java types will break in toolkit
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Won't Fix
-
-
-
teck
-
Reporter: teck
-
September 07, 2010
-
0
-
Watchers: 0
-
September 23, 2010
-
September 10, 2010
Description
If someone uses classes named the same at the java primitive types (eg. “int”, “void”, “char”, etc) in the default package space, those types will fail to serialize in the toolkit
relates to DEV-4694
This test contains a method to show this issue – see method testFunnyIntType() ./toolkit-impl/src/test/java/org/terracotta/cache/serialization/ObjectStreamClassSerializerTest.java
Comments
Tim Eck 2010-09-10
Tim Eck 2010-09-10
Given the brokenness of such bizarro classes with regular java serialization I don’t think we need to bend over backwards to support them in our serialization mechanisms
I need to verify but I’ve been told (by Chris) that classes like this break regular java serialization too, so maybe we just close this.