@@ -160,7 +160,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
160
160
*
161
161
* @return an array of {@code long}, each is a thread ID.
162
162
*
163
- * @throws java.lang. SecurityException if a security manager
163
+ * @throws SecurityException if a security manager
164
164
* exists and the caller does not have
165
165
* ManagementPermission("monitor").
166
166
*/
@@ -199,7 +199,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
199
199
* it does not exist.
200
200
*
201
201
* @throws IllegalArgumentException if {@code id <= 0}.
202
- * @throws java.lang. SecurityException if a security manager
202
+ * @throws SecurityException if a security manager
203
203
* exists and the caller does not have
204
204
* ManagementPermission("monitor").
205
205
*/
@@ -237,7 +237,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
237
237
*
238
238
* @throws IllegalArgumentException if any element in the input array
239
239
* {@code ids} is {@code <= 0}.
240
- * @throws java.lang. SecurityException if a security manager
240
+ * @throws SecurityException if a security manager
241
241
* exists and the caller does not have
242
242
* ManagementPermission("monitor").
243
243
*/
@@ -284,7 +284,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
284
284
*
285
285
* @throws IllegalArgumentException if {@code id <= 0}.
286
286
* @throws IllegalArgumentException if {@code maxDepth is negative}.
287
- * @throws java.lang. SecurityException if a security manager
287
+ * @throws SecurityException if a security manager
288
288
* exists and the caller does not have
289
289
* ManagementPermission("monitor").
290
290
*
@@ -337,7 +337,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
337
337
* @throws IllegalArgumentException if {@code maxDepth is negative}.
338
338
* @throws IllegalArgumentException if any element in the input array
339
339
* {@code ids} is {@code <= 0}.
340
- * @throws java.lang. SecurityException if a security manager
340
+ * @throws SecurityException if a security manager
341
341
* exists and the caller does not have
342
342
* ManagementPermission("monitor").
343
343
*
@@ -360,7 +360,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
360
360
* @return {@code true} if thread contention monitoring is enabled;
361
361
* {@code false} otherwise.
362
362
*
363
- * @throws java.lang. UnsupportedOperationException if the Java virtual
363
+ * @throws UnsupportedOperationException if the Java virtual
364
364
* machine does not support thread contention monitoring.
365
365
*
366
366
* @see #isThreadContentionMonitoringSupported
@@ -374,10 +374,10 @@ public interface ThreadMXBean extends PlatformManagedObject {
374
374
* @param enable {@code true} to enable;
375
375
* {@code false} to disable.
376
376
*
377
- * @throws java.lang. UnsupportedOperationException if the Java
377
+ * @throws UnsupportedOperationException if the Java
378
378
* virtual machine does not support thread contention monitoring.
379
379
*
380
- * @throws java.lang. SecurityException if a security manager
380
+ * @throws SecurityException if a security manager
381
381
* exists and the caller does not have
382
382
* ManagementPermission("control").
383
383
*
@@ -394,7 +394,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
394
394
* the current thread has executed in user mode or system mode.
395
395
*
396
396
* <p>
397
- * This is a convenient method for local management use and is
397
+ * This is a convenience method for local management use and is
398
398
* equivalent to calling:
399
399
* <blockquote><pre>
400
400
* {@link #getThreadCpuTime getThreadCpuTime}(Thread.currentThread().getId());
@@ -403,7 +403,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
403
403
* @return the total CPU time for the current thread if CPU time
404
404
* measurement is enabled; {@code -1} otherwise.
405
405
*
406
- * @throws java.lang. UnsupportedOperationException if the Java
406
+ * @throws UnsupportedOperationException if the Java
407
407
* virtual machine does not support CPU time measurement for
408
408
* the current thread.
409
409
*
@@ -421,7 +421,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
421
421
* not necessarily nanoseconds accuracy.
422
422
*
423
423
* <p>
424
- * This is a convenient method for local management use and is
424
+ * This is a convenience method for local management use and is
425
425
* equivalent to calling:
426
426
* <blockquote><pre>
427
427
* {@link #getThreadUserTime getThreadUserTime}(Thread.currentThread().getId());
@@ -430,7 +430,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
430
430
* @return the user-level CPU time for the current thread if CPU time
431
431
* measurement is enabled; {@code -1} otherwise.
432
432
*
433
- * @throws java.lang. UnsupportedOperationException if the Java
433
+ * @throws UnsupportedOperationException if the Java
434
434
* virtual machine does not support CPU time measurement for
435
435
* the current thread.
436
436
*
@@ -467,7 +467,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
467
467
* {@code -1} otherwise.
468
468
*
469
469
* @throws IllegalArgumentException if {@code id <= 0}.
470
- * @throws java.lang. UnsupportedOperationException if the Java
470
+ * @throws UnsupportedOperationException if the Java
471
471
* virtual machine does not support CPU time measurement for
472
472
* other threads.
473
473
*
@@ -502,7 +502,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
502
502
* {@code -1} otherwise.
503
503
*
504
504
* @throws IllegalArgumentException if {@code id <= 0}.
505
- * @throws java.lang. UnsupportedOperationException if the Java
505
+ * @throws UnsupportedOperationException if the Java
506
506
* virtual machine does not support CPU time measurement for
507
507
* other threads.
508
508
*
@@ -548,7 +548,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
548
548
* @return {@code true} if thread CPU time measurement is enabled;
549
549
* {@code false} otherwise.
550
550
*
551
- * @throws java.lang. UnsupportedOperationException if the Java virtual
551
+ * @throws UnsupportedOperationException if the Java virtual
552
552
* machine does not support CPU time measurement for other threads
553
553
* nor for the current thread.
554
554
*
@@ -564,11 +564,11 @@ public interface ThreadMXBean extends PlatformManagedObject {
564
564
* @param enable {@code true} to enable;
565
565
* {@code false} to disable.
566
566
*
567
- * @throws java.lang. UnsupportedOperationException if the Java
567
+ * @throws UnsupportedOperationException if the Java
568
568
* virtual machine does not support CPU time measurement for
569
569
* any threads nor for the current thread.
570
570
*
571
- * @throws java.lang. SecurityException if a security manager
571
+ * @throws SecurityException if a security manager
572
572
* exists and the caller does not have
573
573
* ManagementPermission("control").
574
574
*
@@ -604,7 +604,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
604
604
* @return an array of IDs of the threads that are monitor
605
605
* deadlocked, if any; {@code null} otherwise.
606
606
*
607
- * @throws java.lang. SecurityException if a security manager
607
+ * @throws SecurityException if a security manager
608
608
* exists and the caller does not have
609
609
* ManagementPermission("monitor").
610
610
*
@@ -616,7 +616,7 @@ public interface ThreadMXBean extends PlatformManagedObject {
616
616
* Resets the peak thread count to the current number of
617
617
* live threads.
618
618
*
619
- * @throws java.lang. SecurityException if a security manager
619
+ * @throws SecurityException if a security manager
620
620
* exists and the caller does not have
621
621
* ManagementPermission("control").
622
622
*
@@ -642,10 +642,10 @@ public interface ThreadMXBean extends PlatformManagedObject {
642
642
* deadlocked waiting for object monitors or ownable synchronizers, if any;
643
643
* {@code null} otherwise.
644
644
*
645
- * @throws java.lang. SecurityException if a security manager
645
+ * @throws SecurityException if a security manager
646
646
* exists and the caller does not have
647
647
* ManagementPermission("monitor").
648
- * @throws java.lang. UnsupportedOperationException if the Java virtual
648
+ * @throws UnsupportedOperationException if the Java virtual
649
649
* machine does not support monitoring of ownable synchronizer usage.
650
650
*
651
651
* @see #isSynchronizerUsageSupported
@@ -704,10 +704,10 @@ public interface ThreadMXBean extends PlatformManagedObject {
704
704
* information about a thread whose ID is in the corresponding
705
705
* element of the input array of IDs.
706
706
*
707
- * @throws java.lang. SecurityException if a security manager
707
+ * @throws SecurityException if a security manager
708
708
* exists and the caller does not have
709
709
* ManagementPermission("monitor").
710
- * @throws java.lang. UnsupportedOperationException
710
+ * @throws UnsupportedOperationException
711
711
* <ul>
712
712
* <li>if {@code lockedMonitors} is {@code true} but
713
713
* the Java virtual machine does not support monitoring
@@ -794,10 +794,10 @@ public ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors,
794
794
* element of the input array of IDs.
795
795
*
796
796
* @throws IllegalArgumentException if {@code maxDepth} is negative.
797
- * @throws java.lang. SecurityException if a security manager
797
+ * @throws SecurityException if a security manager
798
798
* exists and the caller does not have
799
799
* ManagementPermission("monitor").
800
- * @throws java.lang. UnsupportedOperationException
800
+ * @throws UnsupportedOperationException
801
801
* <ul>
802
802
* <li>if {@code lockedMonitors} is {@code true} but
803
803
* the Java virtual machine does not support monitoring
@@ -835,10 +835,10 @@ public default ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors,
835
835
*
836
836
* @return an array of {@link ThreadInfo} for all live threads.
837
837
*
838
- * @throws java.lang. SecurityException if a security manager
838
+ * @throws SecurityException if a security manager
839
839
* exists and the caller does not have
840
840
* ManagementPermission("monitor").
841
- * @throws java.lang. UnsupportedOperationException
841
+ * @throws UnsupportedOperationException
842
842
* <ul>
843
843
* <li>if {@code lockedMonitors} is {@code true} but
844
844
* the Java virtual machine does not support monitoring
@@ -884,10 +884,10 @@ public default ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors,
884
884
* @return an array of {@link ThreadInfo} for all live threads.
885
885
*
886
886
* @throws IllegalArgumentException if {@code maxDepth} is negative.
887
- * @throws java.lang. SecurityException if a security manager
887
+ * @throws SecurityException if a security manager
888
888
* exists and the caller does not have
889
889
* ManagementPermission("monitor").
890
- * @throws java.lang. UnsupportedOperationException
890
+ * @throws UnsupportedOperationException
891
891
* <ul>
892
892
* <li>if {@code lockedMonitors} is {@code true} but
893
893
* the Java virtual machine does not support monitoring
0 commit comments