-
Bug
-
Resolution: Fixed
-
P1
-
rmi-iiop_fcs
-
None
-
iiop_fcs
-
sparc
-
solaris_1
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2026944 | rmi-iiop_beta1 | J. Duke | P1 | Closed | Won't Fix |
The following code in RepositoryId.createForAnyType():
if (type.isArray())
return createSequenceRepID(type);
else if (/*(!isRMIIDLType(type)) &&*/
IDLEntity.class.isAssignableFrom(type))
{
try{
return get_instance_of_helper(type).get_id();
}
catch(Throwable t) {
return createForIDLType(type, 1, 0);
}
is not returning the correct repid for some IDLEntity types that are not
valuetypes. This is because the get_instance_of_helper() method returns
a ValueHelper instance. For non-valuetype helpers, there is no such
thing, so this method throws an exception. The logic catches this and
calls createforIDLType, but this does not return the correct repid if a
#pragma prefix was used in the original IDL.
if (type.isArray())
return createSequenceRepID(type);
else if (/*(!isRMIIDLType(type)) &&*/
IDLEntity.class.isAssignableFrom(type))
{
try{
return get_instance_of_helper(type).get_id();
}
catch(Throwable t) {
return createForIDLType(type, 1, 0);
}
is not returning the correct repid for some IDLEntity types that are not
valuetypes. This is because the get_instance_of_helper() method returns
a ValueHelper instance. For non-valuetype helpers, there is no such
thing, so this method throws an exception. The logic catches this and
calls createforIDLType, but this does not return the correct repid if a
#pragma prefix was used in the original IDL.
- backported by
-
JDK-2026944 RepositoryId.createForAnyType does not handle some IDLTypes.
-
- Closed
-