RFR [9] 8040837: Avoid provoking NFEs when initializing InetAddrCachePolicy
Bernd Eckenfels
bernd-2014 at eckenfels.net
Fri Apr 18 16:56:38 UTC 2014
Am Fri, 18 Apr 2014 17:27:47 +0100
schrieb Michael McMahon <michael.x.mcmahon at oracle.com>:
> I think it would be an improvement to combine these doPrivileged()
> blocks as suggested, though your patch needs work Bernd. For instance,
> the multi-catch doesn't work. Also the PrivilegedAction<> type is
> wrong.
Yes I noticed those and sent them to Claes as he contacted me off-list,
I could provide a refreshed patch, I need to work on my build/test
environment however.
We should use Integer.decode() I think, that was wrong in below
suggestion.
BTW: one additional question: the name of the properties name fields
confused me as they look dynamic. Can this be changed into ALL_CAPS
constand names, as well?
Bernd
More information about the net-dev
mailing list