src/hotspot/share/oops/annotations.cpp
changeset 57823 efb2770e8288
parent 49036 bc92debe57e4
equal deleted inserted replaced
57822:df3397f95387 57823:efb2770e8288
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    84   it->push(&_class_type_annotations);
    84   it->push(&_class_type_annotations);
    85   it->push(&_fields_type_annotations); // FIXME: need a test case where _fields_type_annotations != NULL
    85   it->push(&_fields_type_annotations); // FIXME: need a test case where _fields_type_annotations != NULL
    86 }
    86 }
    87 
    87 
    88 void Annotations::print_value_on(outputStream* st) const {
    88 void Annotations::print_value_on(outputStream* st) const {
    89   st->print("Anotations(" INTPTR_FORMAT ")", p2i(this));
    89   st->print("Annotations(" INTPTR_FORMAT ")", p2i(this));
    90 }
    90 }
    91 
    91 
    92 #if INCLUDE_SERVICES
    92 #if INCLUDE_SERVICES
    93 // Size Statistics
    93 // Size Statistics
    94 
    94