8297295: Remove ThreadGroup.allowThreadSuspension

Reviewed-by: jpai, smarks, chegar, darcy
This commit is contained in:
Alan Bateman 2022-12-08 18:17:58 +00:00
parent 175e3d3ff3
commit d35e840024
2 changed files with 0 additions and 24 deletions

View file

@ -700,23 +700,6 @@ public class ThreadGroup implements Thread.UncaughtExceptionHandler {
}
}
/**
* Does nothing.
*
* @return false
*
* @param b ignored
*
* @deprecated This method was originally intended for controlling suspension
* in low memory conditions. It was never specified.
*
* @since 1.1
*/
@Deprecated(since="1.2", forRemoval=true)
public boolean allowThreadSuspension(boolean b) {
return false;
}
/**
* Returns a string representation of this Thread group.
*