Merge pull request #15097 from rmuir/buglevel

Add workaround for JDK-6427854
This commit is contained in:
Robert Muir 2015-11-29 17:25:11 -05:00
commit fe20677819
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,10 @@ grant {
// TODO: look into this and decide if users should simply set the actual sysprop?!
permission java.util.PropertyPermission "org.jboss.netty.epollBugWorkaround", "write";
// Netty SelectorUtil wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
// the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write";
// needed by lucene SPI currently
permission java.lang.RuntimePermission "getClassLoader";