mirror of https://github.com/apache/lucene.git
LUCENE-3574: Small fix: use the ident() hack to prevent inlining the constant into foreign class files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201758 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
627817bed3
commit
c1f11fbb81
|
@ -46,7 +46,8 @@ public final class Constants {
|
|||
|
||||
/** @deprecated With Lucene 4.0, we are always on Java 6 */
|
||||
@Deprecated
|
||||
public static final boolean JRE_IS_MINIMUM_JAVA6 = true;
|
||||
public static final boolean JRE_IS_MINIMUM_JAVA6 =
|
||||
new Boolean(true).booleanValue(); // prevent inlining in foreign class files
|
||||
|
||||
public static final boolean JRE_IS_64BIT;
|
||||
public static final boolean JRE_IS_MINIMUM_JAVA7;
|
||||
|
|
Loading…
Reference in New Issue