[ 
https://issues.apache.org/jira/browse/LUCENE-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725587#action_12725587
 ] 

Simon Willnauer commented on LUCENE-1724:
-----------------------------------------

bq. A possible solution would be LUCENE-718. 
Either this way (I use setting boot classpath all the time for different 
rt.jar) or we split the build procedure into two steps. Frist step: build core 
with 1.4 JDK Second Step: build contrib with 1.5 JDK. That way we need two 
hudson "Jobs" with dependencies to each other. I guess hudson lets you define 
this quite flexible. 

simon

> Analysis package calls Java 1.5 API
> -----------------------------------
>
>                 Key: LUCENE-1724
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1724
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>            Reporter: Simon Willnauer
>            Assignee: Michael McCandless
>             Fix For: 2.9
>
>         Attachments: CharacterCache.patch
>
>
> I found compile errors when I tried to compile trunk with 1.4 JVM.
> org.apache.lucene.analysis.NormalizeCharMap
> org.apache.lucene.analysis.MappingCharFilter
> uses Character.valueOf() which has been added in 1.5.
> I added a CharacterCache (+ testcase) with a valueOf method as a replacement 
> for that quite useful method.
> org.apache.lucene.analysis.BaseTokenTestCase
> uses StringBuilder instead of the synchronized version StringBuffer 
> (available in 1.4)
> I will attach a patch shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to