mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8004823: Add VM support for type annotation reflection
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
9c761152db
commit
6ed6cb5375
22 changed files with 302 additions and 11 deletions
|
@ -61,6 +61,9 @@ void Annotations::deallocate_contents(ClassLoaderData* loader_data) {
|
|||
free_contents(loader_data, methods_annotations());
|
||||
free_contents(loader_data, methods_parameter_annotations());
|
||||
free_contents(loader_data, methods_default_annotations());
|
||||
|
||||
// Recursively deallocate optional Annotations linked through this one
|
||||
MetadataFactory::free_metadata(loader_data, type_annotations());
|
||||
}
|
||||
|
||||
// Set the annotation at 'idnum' to 'anno'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue