You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2016/12/14 19:17:43 UTC

lucene-solr:LUCENE-6989-v2: LUCENE-6989: Fix annotation of hack

Repository: lucene-solr
Updated Branches:
  refs/heads/LUCENE-6989-v2 8a2c71d74 -> 71d3a5039


LUCENE-6989: Fix annotation of hack


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

Branch: refs/heads/LUCENE-6989-v2
Commit: 71d3a5039dbcca6066cc7f6e3ac2f1564afd12b0
Parents: 8a2c71d
Author: Uwe Schindler <us...@apache.org>
Authored: Wed Dec 14 20:17:23 2016 +0100
Committer: Uwe Schindler <us...@apache.org>
Committed: Wed Dec 14 20:17:23 2016 +0100

----------------------------------------------------------------------
 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/71d3a503/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 d7015c8..701ae3b 100644
--- a/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
+++ b/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java
@@ -335,7 +335,7 @@ public class MMapDirectory extends FSDirectory {
     }
   }
   
-  @SuppressForbidden(reason = "Needs access to private APIs in DirectBuffer and sun.misc.Cleaner to enable hack")
+  @SuppressForbidden(reason = "Needs access to private APIs in DirectBuffer, sun.misc.Cleaner, and sun.misc.Unsafe to enable hack")
   private static Object unmapHackImpl() {
     final Lookup lookup = lookup();
     Class<?> unmappableBufferClass;