8297192: Warning generating API docs for javax.management.MBeanServer: overridden methods do not document exception type

Reviewed-by: dfuchs, sspitsyn, amenkov
This commit is contained in:
Kevin Walls 2022-11-24 12:28:46 +00:00
parent 3c4d5204ff
commit 070a84cbae

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -393,14 +393,12 @@ public interface MBeanServer extends MBeanServerConnection {
/** /**
* {@inheritDoc} * {@inheritDoc}
* @throws RuntimeOperationsException {@inheritDoc}
*/ */
public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query); public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query);
/** /**
* {@inheritDoc} * {@inheritDoc}
* @throws RuntimeOperationsException {@inheritDoc} */
*/
public Set<ObjectName> queryNames(ObjectName name, QueryExp query); public Set<ObjectName> queryNames(ObjectName name, QueryExp query);
// doc comment inherited from MBeanServerConnection // doc comment inherited from MBeanServerConnection