Skip to content

Commit 070a84c

Browse files
committed
8297192: Warning generating API docs for javax.management.MBeanServer: overridden methods do not document exception type
Reviewed-by: dfuchs, sspitsyn, amenkov
1 parent 3c4d520 commit 070a84c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/java.management/share/classes/javax/management/MBeanServer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -393,14 +393,12 @@ public ObjectInstance getObjectInstance(ObjectName name)
393393

394394
/**
395395
* {@inheritDoc}
396-
* @throws RuntimeOperationsException {@inheritDoc}
397396
*/
398397
public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query);
399398

400399
/**
401400
* {@inheritDoc}
402-
* @throws RuntimeOperationsException {@inheritDoc}
403-
*/
401+
*/
404402
public Set<ObjectName> queryNames(ObjectName name, QueryExp query);
405403

406404
// doc comment inherited from MBeanServerConnection

0 commit comments

Comments
 (0)