-
Key: DDSJAVA11-9
-
Legacy Issue Number: 18427
-
Status: open
-
Source: ZettaScale Technology ( Mr. Julien Enoch)
-
Summary:
In TypeSupport class the newTypeSupport() operation is implemented as following:
public static <TYPE> TypeSupport<TYPE> newTypeSupport(
{ return newTypeSupport(type, type.getClass().getName(), env); }
Class<TYPE> type,
ServiceEnvironment env)The correct implementation should be:
public static <TYPE> TypeSupport<TYPE> newTypeSupport(
{ return newTypeSupport(type, type.getName(), env); }
Class<TYPE> type,
ServiceEnvironment env)Since type.getClass().getName() always return "java.lang.Class".
-
Reported: DDS-Java 1.0 — Wed, 6 Feb 2013 05:00 GMT
-
Updated: Fri, 6 Mar 2015 20:57 GMT
DDSJAVA11 — Error in implementation of TypeSupport.newTypeSupport()
- Key: DDSJAVA11-9
- OMG Task Force: DDS-PSM-Java v1.1 RTF