RE: Buggy exception handling in ServerNotifForwarder#removeNotificationListener

2021-08-20 Thread Kevin Walls
I logged this: https://bugs.openjdk.java.net/browse/JDK-8272780 -Original Message- From: Kevin Walls Sent: 19 August 2021 10:58 To: Andrey Turbanov ; [email protected] Subject: RE: Buggy exception handling in ServerNotifForwarder#removeNotificationListener Hi - Yes

RE: Buggy exception handling in ServerNotifForwarder#removeNotificationListener

2021-08-19 Thread Kevin Walls
Hi - Yes, looks like we intend to keep the first Exception thrown, and throw that after the loop, but not to stop the loop attempting all removeNotificationListener() calls. So it would make sense to assign the caught Exception to re, only if re IS null. So currently this method never throws