(10) RFR of JDK-8184165: sun.security.provider.PolicyFile$PolicyEntry.toString() throws MissingResourceException

Hamlin Li huaming.li at oracle.com
Wed Jul 12 03:03:11 UTC 2017


Hi Max,

On 2017/7/12 10:50, Weijun Wang wrote:
> Change looks fine.
>
> Please remember to add a noreg-trivial label.
Added the label, and will push the change.
> Also, can you do some more investigation when this starts to happen? The bug says affected versions are 9 and 10 but PolicyFile.java has been there long long ago. Was there a regression?
The same code is there since jdk6 
(http://hg.openjdk.java.net/jdk6/jdk6/jdk) , I did not check jdk5...
I don't think it's a regression, it should be just a missing resource, 
as the failure only occurs when accessing very details of 
sun.security.provider.PolicyFile by reflection, I guess people seldom do 
that.

Thank you
-Hamlin
>
> Thanks
> Max
>
>> On Jul 12, 2017, at 10:28 AM, Hamlin Li <huaming.li at oracle.com> wrote:
>>
>> Would you please review the below patch?
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8184165
>>
>> webrev: http://cr.openjdk.java.net/~mli/8184165/webrev.00/
>>
>>
>> Thank you
>>
>> -Hamlin
>>



More information about the security-dev mailing list