JDK 9 Build 111 seems to miss some locale data, Lucene tests fail with Farsi and Thai language

Alan Bateman Alan.Bateman at oracle.com
Sat Mar 26 22:05:15 UTC 2016


On 26/03/2016 19:11, Uwe Schindler wrote:
> Hi Alan, hi Robert, Hi Lucene developers,
>
> I was able to reproduce the bug in isolation. The reason why Robert and you did not see it was quite simple:
> - You need to enable a security manager
> - You need to list all locales before
>
>
Thanks, that's enough to understand the issue. There is code in 
ResourceBundleProviderSupport trying to do a privileged operation with 
less privileged on the stack.

As a temporary workaround, could you update the policy file 
(conf/security/java.policy) to grant an addition permission to 
jrt:/jdk.localedata
   permission java.lang.RuntimePermission "getClassLoader";

I'll create a bug for the issue now.

-Alan.




More information about the core-libs-dev mailing list