mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6739363: Xcheck jni doesn't check native function arguments
Fix adds support for verifying arguments with -Xcheck:jni. Reviewed-by: coleenp
This commit is contained in:
parent
8eb2e02296
commit
eddda26255
8 changed files with 63 additions and 36 deletions
|
@ -150,7 +150,7 @@ class JavaCallArguments : public StackObj {
|
|||
int size_of_parameters() const { return _size; }
|
||||
|
||||
// Verify that pushed arguments fits a given method
|
||||
void verify(methodHandle method, BasicType return_type, Thread *thread) PRODUCT_RETURN;
|
||||
void verify(methodHandle method, BasicType return_type, Thread *thread);
|
||||
};
|
||||
|
||||
// All calls to Java have to go via JavaCalls. Sets up the stack frame
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue