RFR JDK-8066642: Fix deprecation warnings in jdk.naming module

Alan Bateman Alan.Bateman at oracle.com
Sat Dec 13 10:21:50 UTC 2014

On 12/12/2014 17:43, Chris Hegarty wrote:
>> On 12 Dec 2014, at 15:51, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>>> On 12/12/2014 15:40, Pavel Rappo wrote:
>>> Hi everyone,
>>> Could you please review my change for JDK-8066642?
>>> http://cr.openjdk.java.net/~prappo/8066642/webrev.00/
>>> -Pavel
>> This looks okay but I just wonder if we have any tests that check the for specific NamingExceptions that would help tell us if there is any behavior change.
> I could be reading the code incorrectly but I don't see that there will b any change in behaviour, with respect to the exception been thrown.
You may be right but I just wonder if switching from RMISecurityManager 
requires any additional handling in wrapRemoteException, maybe 
SecurityException. I don't know if there are tests that exercise all of 
these scenarios and my comment was mostly just to see if such tests exists.


More information about the core-libs-dev mailing list