Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 9492 invoked from network); 23 Apr 2008 19:10:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 19:10:48 -0000 Received: (qmail 41029 invoked by uid 500); 23 Apr 2008 19:10:48 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 40992 invoked by uid 500); 23 Apr 2008 19:10:48 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 40980 invoked by uid 99); 23 Apr 2008 19:10:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 12:10:48 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 19:10:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F349C234C0FC for ; Wed, 23 Apr 2008 12:07:21 -0700 (PDT) Message-ID: <57041979.1208977641995.JavaMail.jira@brutus> Date: Wed, 23 Apr 2008 12:07:21 -0700 (PDT) From: "Doug Cutting (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3262) make Hadoop compile under Apache Harmony In-Reply-To: <1134152234.1208293221910.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591739#action_12591739 ] Doug Cutting commented on HADOOP-3262: -------------------------------------- Sigh. I can't find a way to get a class that 'implements Delayed' to compile in both Sun Java and Harmony. Given: {noformat} public interface Comparable { int compareTo(T o); } public interface Delayed extends Comparable {} {noformat} Harmony requires the first of the following methods, but doesn't mind the second, while Sun permits only the second. {noformat} public class DelayedImpl implements Delayed { public int compareTo(Object o); public int compareTo(Delayed o); } {noformat} My hunch is that Sun is correct here and that we should file a bug against Harmony. > make Hadoop compile under Apache Harmony > ---------------------------------------- > > Key: HADOOP-3262 > URL: https://issues.apache.org/jira/browse/HADOOP-3262 > Project: Hadoop Core > Issue Type: Bug > Components: build > Reporter: Doug Cutting > Assignee: Doug Cutting > Attachments: HADOOP-3262.patch > > > Some small changes are required to get Hadoop Core to compile with Apache Harmony. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.