[ 
https://issues.apache.org/jira/browse/LUCENE-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342206#comment-14342206
 ] 

Dawid Weiss commented on LUCENE-6238:
-------------------------------------

I guess it's Solr or one of its dependencies.
{code}
svn log -r 1384923 LuceneTestCase.java
r1384923 | markrmiller | 2012-09-14 23:05:15 +0200 (Fri, 14 Sep 2012) | 19 lines

svn diff -r 1384922:1384923 LuceneTestCase.java
Index: LuceneTestCase.java
===================================================================
--- LuceneTestCase.java (revision 1384922)
+++ LuceneTestCase.java (revision 1384923)
@@ -289,7 +289,7 @@
    * @see #classRules
    */
   private static final String [] IGNORED_INVARIANT_PROPERTIES = {
-    "user.timezone"
+    "user.timezone", "java.rmi.server.randomIDs"
   };

   /** Filesystem-based {@link Directory} implementations. */
{code}

> minimize tests.policy
> ---------------------
>
>                 Key: LUCENE-6238
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6238
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>             Fix For: Trunk, 5.1
>
>         Attachments: LUCENE-6238-mmap.patch, LUCENE-6238.patch, 
> LUCENE-6238.patch, LUCENE-6238.patch, LUCENE-6238.patch
>
>
> This is overly permissive:
> {noformat}
>   // Basic permissions needed for Lucene to work:
>   permission java.util.PropertyPermission "*", "read,write";
>   permission java.lang.reflect.ReflectPermission "*";
>   permission java.lang.RuntimePermission "*";
> {noformat}
> Because of various BS like unsafe-hacks (only mmap seems to do it properly), 
> this means effectively you cannot use lucene with SM today, without allowing 
> SM itself to just be disabled with reflection. 
> This is easy to fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to