Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 18015 invoked from network); 19 Oct 2007 16:20:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Oct 2007 16:20:08 -0000 Received: (qmail 68115 invoked by uid 500); 19 Oct 2007 16:19:43 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 68098 invoked by uid 500); 19 Oct 2007 16:19:43 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 68089 invoked by uid 99); 19 Oct 2007 16:19:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 09:19:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oliver.deakin@googlemail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2007 16:19:42 +0000 Received: by ug-out-1314.google.com with SMTP id u40so657787ugc for ; Fri, 19 Oct 2007 09:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=oFPpbsAWVRJACU3y3QBzy2Kd37rKGd/PiaEO3tO9IJg=; b=CteonsPC/IDdzKHlMKrjPrMTmNOg89PcxdFwHcYTDOS1J4gIJWQusxsQ7VPI7nFyYpDqLZRNZew0yf5VqAC69u6X6yE1imXSmKhm/FZa6+/cAaifn5n1uOjyLNI78Bpv/oNYWCyExNMukuenvd0Va16DfP4GSc/HSpzFzdIXi88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=IlofzuJs/h8gioXVEqvLgVQxai71AcYYAX7Gle0c7Oq8xMayicGM35/aimVYmJg9OnqOLTv+vSsZjtNuO6FtM+eBBqCUuIayJxI+C1VWE25ForhRtwhecJ5d3fyg1QO9EkDGepU31FIT3+m+7YNNRLj/T3p/E0dxzV2S7B47CiQ= Received: by 10.67.90.4 with SMTP id s4mr3213300ugl.1192810743766; Fri, 19 Oct 2007 09:19:03 -0700 (PDT) Received: from ?9.20.183.65? ( [195.212.29.75]) by mx.google.com with ESMTPS id c24sm2856807ika.2007.10.19.09.19.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Oct 2007 09:19:02 -0700 (PDT) Message-ID: <4718D8F2.4080203@googlemail.com> Date: Fri, 19 Oct 2007 17:18:58 +0100 From: Oliver Deakin User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [build] issue using modern compiler References: <19e0530f0710190743k3780cb57rfaa608f2a1e7c2ce@mail.gmail.com> In-Reply-To: <19e0530f0710190743k3780cb57rfaa608f2a1e7c2ce@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Dims, It seems these might be exposing bugs with the Eclipse compiler from previous discussions [1] & [2]. I'm surprised we havn't fixed these problems in our codebase, but I guess we switched to using the Eclipse compiler and they may have fallen by the wayside as a result. Having a very quick search I cannot see a JIRA already existing for this issue. Does anyone else remember why this was not fixed? Regards, Oliver [1] http://mail-archives.apache.org/mod_mbox/harmony-dev/200611.mbox/%3c2c1cfe8b0611300356g39fc2d77oad6c53816711923c@mail.gmail.com%3e [2] http://www.mail-archive.com/harmony-dev@incubator.apache.org/msg16132.html Davanum Srinivas wrote: > Forgot to mention, Here's a build break when i use the modern compiler > ("ant -Dhy.javac.compiler=modern"). Yes, i was able to find/drop ecj > jar into ant/lib to get past this. Should i log a bug? > > thanks, > dims > > -compile: > [mkdir] Created dir: C:\APACHE\harmony\working_classlib\build\classes > [hy.javac] Compiling 3843 source files to > C:\APACHE\harmony\working_classlib\build\classes > [hy.javac] C:\APACHE\harmony\working_classlib\modules\swing\src\main\java\common\javax\swing\text\html\StyleSheet.java:820: > reference to remov > eAttributes is ambiguous, both method > removeAttributes(javax.swing.text.AttributeSet,java.util.Enumeration) > in javax.swing.text.StyleContext > and method removeAttributes(javax.swing.text.AttributeSet,javax.swing.text.html.StyleSheet.NameConverterEnumeration) > in javax.swing.text.html. > StyleSheet match > [hy.javac] return removeAttributes(old, new > NameConverterEnumeration(old, rem)); > [hy.javac] ^ > [hy.javac] C:\APACHE\harmony\working_classlib\modules\swing\src\main\java\common\javax\swing\text\html\StyleSheet.java:825: > reference to remov > eAttributes is ambiguous, both method > removeAttributes(javax.swing.text.AttributeSet,java.util.Enumeration) > in javax.swing.text.StyleContext > and method removeAttributes(javax.swing.text.AttributeSet,javax.swing.text.html.StyleSheet.NameConverterEnumeration) > in javax.swing.text.html. > StyleSheet match > [hy.javac] return removeAttributes(old, new > NameConverterEnumeration(names)); > [hy.javac] ^ > [hy.javac] Note: Some input files use or override a deprecated API. > [hy.javac] Note: Recompile with -Xlint:deprecation for details. > [hy.javac] Note: Some input files use unchecked or unsafe operations. > [hy.javac] Note: Recompile with -Xlint:unchecked for details. > [hy.javac] 2 errors > > > > -- Oliver Deakin Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU