mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8195690: JNI GetObjectRefType doesn't handle NULL
Properly handle NULL, add some non-NULL preconditions. Reviewed-by: dholmes, mdoerr
This commit is contained in:
parent
490d2ce747
commit
2d847b1eb6
7 changed files with 26 additions and 6 deletions
|
@ -103,6 +103,7 @@ public:
|
|||
};
|
||||
|
||||
// Locks _allocate_mutex.
|
||||
// precondition: ptr != NULL.
|
||||
EntryStatus allocation_status(const oop* ptr) const;
|
||||
|
||||
// Allocates and returns a new entry. Returns NULL if memory allocation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue