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

Uwe Schindler commented on LUCENE-4332:
---------------------------------------

Sun/Oracle, IBM J9 and jRockit contain it. Only the FreeBSD one is missing it 
because of Licensing reasons, but thats a well-known bug to be fixed soon (so 
on ASF Jenkins its installed as separate package in JRE_PATH/lib/ext" or like 
that).

The major drawback of the sjhipped javascript version is that it is trimmed 
down and produces no bytecode out of Javascript, it interprets only. But that 
is no issue here.

The Java 6 specs are a little bit unclear, but they say something like 
(unfortunately you have to download as ZIP file): A "default" scripting 
implementation is required to be shipped with any Java 6 JDK, but it is not 
defined which one. Oracle officially says "javascript (Rhino) is shipped with 
OpenJDK and JDK", so all other JVM vendors would be stupid to ship with another 
default one. So, let's assume its there, otherwise you have a problem building 
the release package of Lucene. It is similar to the case that JDK contains 
implementations for XML processing, but the language spec only enforce the API 
to be there and SPI to load them. Which XML processor is shipped depends on 
developer, but there must be one.

Another (bloated) version of doing that is using ivy:cachepath to download and 
add a classpathref= to the <script/> element, but then you will at some time 
hit the stupid ANT permgen issue (if you have many <script/> elements).
                
> Integrate PiTest mutation coverage tool into build
> --------------------------------------------------
>
>                 Key: LUCENE-4332
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4332
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.1, 5.0
>            Reporter: Greg Bowyer
>            Assignee: Greg Bowyer
>              Labels: build
>         Attachments: 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch, 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch, 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch
>
>
> As discussed briefly on the mailing list, this patch is an attempt to 
> integrate the PiTest mutation coverage tool into the lucene build

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to