--- old/src/hotspot/share/runtime/reflection.cpp 2019-12-03 19:37:15.000000000 -0800 +++ new/src/hotspot/share/runtime/reflection.cpp 2019-12-03 19:37:14.000000000 -0800 @@ -707,7 +707,7 @@ // Checks that the 'outer' klass has declared 'inner' as being an inner klass. If not, // throw an incompatible class change exception // If inner_is_member, require the inner to be a member of the outer. -// If !inner_is_member, require the inner to be unsafe anonymous (a non-member). +// If !inner_is_member, require the inner to be hidden or unsafe anonymous (non-members). // Caller is responsible for figuring out in advance which case must be true. void Reflection::check_for_inner_class(const InstanceKlass* outer, const InstanceKlass* inner, bool inner_is_member, TRAPS) {