Index: src/main/java/java/lang/management/MemoryPoolMXBean.java =================================================================== --- src/main/java/java/lang/management/MemoryPoolMXBean.java (revision 537764) +++ src/main/java/java/lang/management/MemoryPoolMXBean.java (working copy) @@ -210,9 +210,8 @@ *

* * @param threshold The new, non-negative threshold. - * @throws IllegalArgumentException if threshold is negative - * or greater than the maximum amount supported by this pool, if - * defined. + * @throws IllegalArgumentException if the new threshold is either negative + * or greater than the maximum memory allowed. * @throws UnsupportedOperationException if this is not supported. * @throws SecurityException if caller doesn't have * ManagementPermission("control"). @@ -225,9 +224,8 @@ *

* * @param threshold The new, non-negative threshold. - * @throws IllegalArgumentException if threshold is negative - * or greater than the maximum amount supported by this pool, if - * defined. + * @throws IllegalArgumentException if the new threshold is either negative + * or greater than the maximum memory allowed. * @throws UnsupportedOperationException if this is not supported. * @throws SecurityException if caller doesn't have * ManagementPermission("control").