Skip to content

Commit bf5c3ce

Browse files
committed
8272780: ServerNotifForwarder.removeNotificationListener() incorrect exception handling
Reviewed-by: dholmes
1 parent a10b1cc commit bf5c3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.management/share/classes/com/sun/jmx/remote/internal/ServerNotifForwarder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void removeNotificationListener(ObjectName name,
169169
} catch (Exception e) {
170170
// Give back the first exception
171171
//
172-
if (re != null) {
172+
if (re == null) {
173173
re = e;
174174
}
175175
}

0 commit comments

Comments
 (0)