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:
Uwe Schindler 2011-11-14 15:46:04 +00:00
parent 627817bed3
commit c1f11fbb81
1 changed files with 2 additions and 1 deletions

View File

@ -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;