mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8249627: Degrade Thread.suspend and Thread.resume
Reviewed-by: cjplummer, sspitsyn, dholmes, jpai
This commit is contained in:
parent
bc12e9553d
commit
1abf971b93
15 changed files with 113 additions and 232 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1994, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -27,12 +27,9 @@ package java.lang;
|
|||
|
||||
/**
|
||||
* Thrown to indicate that a thread is not in an appropriate state
|
||||
* for the requested operation. See, for example, the
|
||||
* {@code suspend} and {@code resume} methods in class
|
||||
* {@code Thread}.
|
||||
* for the requested operation.
|
||||
*
|
||||
* @see java.lang.Thread#resume()
|
||||
* @see java.lang.Thread#suspend()
|
||||
* @see Thread#start()
|
||||
* @since 1.0
|
||||
*/
|
||||
public class IllegalThreadStateException extends IllegalArgumentException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue