changeset 8603:12553768f571

8165230: RMIConnection addNotificationListeners failing with specific inputs Reviewed-by: dfuchs, skoivu
author shshahma
date Tue, 31 Jan 2017 07:15:56 +0000
parents b78f28572abd
children a6b3b0bd2fec
files src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java	Sun Sep 18 23:22:46 2016 +0300
+++ b/src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java	Tue Jan 31 07:15:56 2017 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2012, 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
@@ -1013,7 +1013,7 @@
 
                 filterValues[i] =
                     unwrap(filters[i], targetCl, defaultClassLoader,
-                           NotificationFilter.class, delegationSubjects[i]);
+                           NotificationFilter.class, sbjs[i]);
 
                 if (debug) logger.debug("addNotificationListener"+
                                         "(ObjectName,NotificationFilter)",