jdk/src/share/classes/sun/management/ThreadInfoCompositeData.java
changeset 401 ef01e0dccd63
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
399:bcc2354430ff 401:ef01e0dccd63
   124             return new CompositeDataSupport(threadInfoCompositeType,
   124             return new CompositeDataSupport(threadInfoCompositeType,
   125                                             threadInfoItemNames,
   125                                             threadInfoItemNames,
   126                                             threadInfoItemValues);
   126                                             threadInfoItemValues);
   127         } catch (OpenDataException e) {
   127         } catch (OpenDataException e) {
   128             // Should never reach here
   128             // Should never reach here
   129             throw Util.newInternalError(e);
   129             throw new AssertionError(e);
   130         }
   130         }
   131     }
   131     }
   132 
   132 
   133     // Attribute names
   133     // Attribute names
   134     private static final String THREAD_ID       = "threadId";
   134     private static final String THREAD_ID       = "threadId";
   207                                   v5ItemNames,
   207                                   v5ItemNames,
   208                                   v5ItemDescs,
   208                                   v5ItemDescs,
   209                                   v5ItemTypes);
   209                                   v5ItemTypes);
   210         } catch (OpenDataException e) {
   210         } catch (OpenDataException e) {
   211             // Should never reach here
   211             // Should never reach here
   212             throw Util.newInternalError(e);
   212             throw new AssertionError(e);
   213         }
   213         }
   214 
   214 
   215         // Each CompositeData object has its CompositeType associated
   215         // Each CompositeData object has its CompositeType associated
   216         // with it.  So we can get the CompositeType representing LockInfo
   216         // with it.  So we can get the CompositeType representing LockInfo
   217         // from a mapped CompositeData for any LockInfo object.
   217         // from a mapped CompositeData for any LockInfo object.