mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8268368: Adopt cast notation for JavaThread conversions
Reviewed-by: dholmes, stefank
This commit is contained in:
parent
b6cfca8a89
commit
cd678a383f
64 changed files with 139 additions and 145 deletions
|
@ -148,7 +148,7 @@ static JavaThread* get_current_thread(bool allow_null=true) {
|
|||
assert(allow_null, "npe");
|
||||
return NULL;
|
||||
}
|
||||
return thread->as_Java_thread();
|
||||
return JavaThread::cast(thread);
|
||||
}
|
||||
|
||||
// Entry to native method implementation that transitions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue