jdk/src/java.management/share/classes/javax/management/openmbean/ArrayType.java
changeset 28059 e576535359cc
parent 27957 24b4e6082f19
child 29927 9cc3e111a1d8
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   568         }
   568         }
   569 
   569 
   570         // In case this ArrayType instance describes an array of classes implementing the TabularData or CompositeData interface,
   570         // In case this ArrayType instance describes an array of classes implementing the TabularData or CompositeData interface,
   571         // we first check for the assignability of obj to such an array of TabularData or CompositeData,
   571         // we first check for the assignability of obj to such an array of TabularData or CompositeData,
   572         // which ensures that:
   572         // which ensures that:
   573         //  . obj is of the the same dimension as this ArrayType instance,
   573         //  . obj is of the same dimension as this ArrayType instance,
   574         //  . it is declared as an array of elements which are either all TabularData or all CompositeData.
   574         //  . it is declared as an array of elements which are either all TabularData or all CompositeData.
   575         //
   575         //
   576         // If the assignment check is positive,
   576         // If the assignment check is positive,
   577         // then we have to check that each element in obj is of the same TabularType or CompositeType
   577         // then we have to check that each element in obj is of the same TabularType or CompositeType
   578         // as the one described by this ArrayType instance.
   578         // as the one described by this ArrayType instance.