You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2017/01/09 10:49:03 UTC

lucene-solr:master: improve exception message

Repository: lucene-solr
Updated Branches:
  refs/heads/master b9827bcba -> d7beb0f14


improve exception message


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d7beb0f1
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d7beb0f1
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d7beb0f1

Branch: refs/heads/master
Commit: d7beb0f1479d2a9c4f37d780aa31edcd1012ac69
Parents: b9827bc
Author: Mike McCandless <mi...@apache.org>
Authored: Mon Jan 9 05:48:29 2017 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Mon Jan 9 05:48:54 2017 -0500

----------------------------------------------------------------------
 lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d7beb0f1/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java b/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
index 0487400..b994d0d 100644
--- a/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
+++ b/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
@@ -386,7 +386,7 @@ public class MMapDirectory extends FSDirectory {
           " [Please grant at least the following permissions: RuntimePermission(\"accessClassInPackage.sun.misc\") " +
           " and ReflectPermission(\"suppressAccessChecks\")]";
     } catch (ReflectiveOperationException | RuntimeException e) {
-      return "Unmapping is not supported on this platform, because internal Java APIs are not compatible to this Lucene version: " + e; 
+      return "Unmapping is not supported on this platform, because internal Java APIs are not compatible with this Lucene version: " + e; 
     }
   }