mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8229930: internal_name() in annotations.hpp returns "{constant pool}"
Fix typo and change text to "{annotations}"
Reviewed-by: mdoerr, dcubed
This commit is contained in:
parent
9e633ae065
commit
9ccb4dc212
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -86,7 +86,7 @@ void Annotations::metaspace_pointers_do(MetaspaceClosure* it) {
|
||||
}
|
||||
|
||||
void Annotations::print_value_on(outputStream* st) const {
|
||||
st->print("Anotations(" INTPTR_FORMAT ")", p2i(this));
|
||||
st->print("Annotations(" INTPTR_FORMAT ")", p2i(this));
|
||||
}
|
||||
|
||||
#if INCLUDE_SERVICES
|
||||
|
||||
@ -100,7 +100,7 @@ class Annotations: public MetaspaceObj {
|
||||
private:
|
||||
static julong count_bytes(Array<AnnotationArray*>* p);
|
||||
public:
|
||||
const char* internal_name() const { return "{constant pool}"; }
|
||||
const char* internal_name() const { return "{annotations}"; }
|
||||
#ifndef PRODUCT
|
||||
void print_on(outputStream* st) const;
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user