You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ivan Mitic (JIRA)" <ji...@apache.org> on 2013/04/07 02:21:18 UTC

[jira] [Updated] (HADOOP-9463) branch-1-win fails to build with OpenJDK7

     [ https://issues.apache.org/jira/browse/HADOOP-9463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Mitic updated HADOOP-9463:
-------------------------------

    Attachment: HADOOP-9463.branch-1-win.jdk7.patch

The problem is in OpenJDK7 not supporting JavaScript engine anymore. The support has been added recently but it would be good to avoid this dependency and make the build pass on older OpenJDK7 releases.

Attaching the fix which removes the build dependency on the JavaScript engine by using an alternative method to replace spaces with underscores. 
                
> branch-1-win fails to build with OpenJDK7
> -----------------------------------------
>
>                 Key: HADOOP-9463
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9463
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>             Fix For: 1-win
>
>         Attachments: HADOOP-9463.branch-1-win.jdk7.patch
>
>
> Build fails with the following error:
> I:\svn\trunk_rebase\hadoop-common [branch-1-win]> ant clean winpkg
> Buildfile: I:\svn\trunk_rebase\hadoop-common\build.xml
> BUILD FAILED
> I:\svn\trunk_rebase\hadoop-common\build.xml:87: Unable to create javax script engine for javascript

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