changeset 16511:6432d8638a6a

8165230: RMIConnection addNotificationListeners failing with specific inputs Reviewed-by: dfuchs, skoivu
author hb
date Thu, 15 Sep 2016 13:24:24 +0530
parents 71a9f5431a44
children f837d2a2a202
files src/java.management/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.management/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java	Tue Sep 13 11:59:56 2016 +0100
+++ b/src/java.management/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java	Thu Sep 15 13:24:24 2016 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2016, 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
@@ -990,7 +990,7 @@
 
                 filterValues[i] =
                     unwrap(filters[i], targetCl, defaultClassLoader,
-                           NotificationFilter.class, delegationSubjects[i]);
+                           NotificationFilter.class, sbjs[i]);
 
                 if (debug) logger.debug("addNotificationListener"+
                                         "(ObjectName,NotificationFilter)",