lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rm...@apache.org>
Subject Re: svn commit: r1412989 - /lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java
Date Fri, 23 Nov 2012 17:21:52 GMT
what version of jdk8 are we using? This bug is supposedly already fixed:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7104012

On Fri, Nov 23, 2012 at 9:19 AM, <rmuir@apache.org> wrote:

> Author: rmuir
> Date: Fri Nov 23 17:19:48 2012
> New Revision: 1412989
>
> URL: http://svn.apache.org/viewvc?rev=1412989&view=rev
> Log:
> also detect sun bug #7104012 in jdk8
>
> Modified:
>
> lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java
>
> Modified:
> lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java?rev=1412989&r1=1412988&r2=1412989&view=diff
>
> ==============================================================================
> ---
> lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java
> (original)
> +++
> lucene/dev/branches/branch_4x/lucene/analysis/common/src/test/org/apache/lucene/analysis/miscellaneous/PatternAnalyzerTest.java
> Fri Nov 23 17:19:48 2012
> @@ -171,7 +171,8 @@ public class PatternAnalyzerTest extends
>      }
>      StackTraceElement trace[] = t.getStackTrace();
>      for (StackTraceElement st : trace) {
> -      if ("java.text.RuleBasedBreakIterator".equals(st.getClassName())
> +      if ("java.text.RuleBasedBreakIterator".equals(st.getClassName()) ||
> +
>  "sun.util.locale.provider.RuleBasedBreakIterator".equals(st.getClassName())
>            && "lookupBackwardState".equals(st.getMethodName())) {
>          return true;
>        }
>
>
>

Mime
View raw message