Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0074BF2E4 for ; Sun, 7 Apr 2013 00:21:19 +0000 (UTC) Received: (qmail 77784 invoked by uid 500); 7 Apr 2013 00:21:18 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77742 invoked by uid 500); 7 Apr 2013 00:21:18 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77733 invoked by uid 99); 7 Apr 2013 00:21:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 00:21:18 +0000 Date: Sun, 7 Apr 2013 00:21:18 +0000 (UTC) From: "Ivan Mitic (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9463) branch-1-win fails to build with OpenJDK7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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