jdk/src/share/classes/com/sun/jmx/mbeanserver/MXBeanIntrospector.java
changeset 1699 3611e5fd6da5
parent 1512 0f8eb7ad4ef5
child 4156 acaa49a2768a
equal deleted inserted replaced
1698:2f0b565a475e 1699:3611e5fd6da5
   290         }
   290         }
   291 
   291 
   292         Descriptor descriptor =
   292         Descriptor descriptor =
   293             typeDescriptor(returnType, originalReturnType);
   293             typeDescriptor(returnType, originalReturnType);
   294         descriptor = ImmutableDescriptor.union(descriptor,
   294         descriptor = ImmutableDescriptor.union(descriptor,
   295                 Introspector.descriptorForElement(method));
   295                 Introspector.descriptorForElement(method, false));
   296         final MBeanOperationInfo oi;
   296         final MBeanOperationInfo oi;
   297         if (openReturnType && openParameterTypes) {
   297         if (openReturnType && openParameterTypes) {
   298             /* If the return value and all the parameters can be faithfully
   298             /* If the return value and all the parameters can be faithfully
   299              * represented as OpenType then we return an OpenMBeanOperationInfo.
   299              * represented as OpenType then we return an OpenMBeanOperationInfo.
   300              * If any of them is a primitive type, we can't.  Compatibility
   300              * If any of them is a primitive type, we can't.  Compatibility