changeset 12051:392209fbe127 jdk8u121-b08

8165230: RMIConnection addNotificationListeners failing with specific inputs Reviewed-by: dfuchs, skoivu
author shshahma
date Mon, 24 Oct 2016 03:14:50 -0700
parents d7c262bce88c
children d477599824db
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	Fri Oct 21 14:04:14 2016 +0100
+++ b/src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java	Mon Oct 24 03:14:50 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2013, 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
@@ -992,7 +992,7 @@
 
                 filterValues[i] =
                     unwrap(filters[i], targetCl, defaultClassLoader,
-                           NotificationFilter.class, delegationSubjects[i]);
+                           NotificationFilter.class, sbjs[i]);
 
                 if (debug) logger.debug("addNotificationListener"+
                                         "(ObjectName,NotificationFilter)",