mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8252685: APIs that require JavaThread should take JavaThread arguments
Reviewed-by: coleenp, sspitsyn, kvn, iklam
This commit is contained in:
parent
2066f497b9
commit
02f895c5f6
120 changed files with 507 additions and 521 deletions
|
@ -686,7 +686,7 @@ void vm_exit_during_initialization(Handle exception) {
|
|||
// If there are exceptions on this thread it must be cleared
|
||||
// first and here. Any future calls to EXCEPTION_MARK requires
|
||||
// that no pending exceptions exist.
|
||||
Thread *THREAD = Thread::current(); // can't be NULL
|
||||
JavaThread* THREAD = JavaThread::current(); // can't be NULL
|
||||
if (HAS_PENDING_EXCEPTION) {
|
||||
CLEAR_PENDING_EXCEPTION;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue