LUCENE-2074: First step until we resolve this issue. This just adds the warning, also added to 3.0. We will update the Flex version to 1.5 resolve this in 3.1.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@881315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2009-11-17 14:59:42 +00:00
parent 9606a8e131
commit 73e2f9cd29
3 changed files with 20 additions and 10 deletions

View File

@ -0,0 +1,7 @@
WARNING: if you change StandardTokenizerImpl.jflex and need to regenerate
the tokenizer, only use Java 1.4 !!!
This grammar currently uses constructs (eg :digit:, :letter:) whose
meaning can vary according to the JRE used to run jflex. See
https://issues.apache.org/jira/browse/LUCENE-1126 for details.
For current backwards compatibility it is needed to support
only Java 1.4 - this will change in Lucene 3.1.

View File

@ -21,11 +21,13 @@ package org.apache.lucene.analysis.standard;
/*
NOTE: if you change this file and need to regenerate the tokenizer,
remember to use JRE 1.4 when running jflex (before Lucene 3.0).
This grammar now uses constructs (eg :digit:) whose meaning can
vary according to the JRE used to run jflex. See
https://issues.apache.org/jira/browse/LUCENE-1126 for details
WARNING: if you change StandardTokenizerImpl.jflex and need to regenerate
the tokenizer, only use Java 1.4 !!!
This grammar currently uses constructs (eg :digit:, :letter:) whose
meaning can vary according to the JRE used to run jflex. See
https://issues.apache.org/jira/browse/LUCENE-1126 for details.
For current backwards compatibility it is needed to support
only Java 1.4 - this will change in Lucene 3.1.
*/

View File

@ -19,12 +19,13 @@ package org.apache.lucene.analysis.standard;
/*
NOTE: if you change StandardTokenizerImpl.jflex and need to regenerate
the tokenizer, remember to use JRE 1.4 to run jflex (before
Lucene 3.0). This grammar now uses constructs (eg :digit:,
:letter:) whose meaning can vary according to the JRE used to
run jflex. See
WARNING: if you change StandardTokenizerImpl.jflex and need to regenerate
the tokenizer, only use Java 1.4 !!!
This grammar currently uses constructs (eg :digit:, :letter:) whose
meaning can vary according to the JRE used to run jflex. See
https://issues.apache.org/jira/browse/LUCENE-1126 for details.
For current backwards compatibility it is needed to support
only Java 1.4 - this will change in Lucene 3.1.
*/