harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [build] issue using modern compiler
Date Sat, 20 Oct 2007 17:08:30 GMT
2007/10/19, Oliver Deakin <oliver.deakin@googlemail.com>:
> 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?

Probably because the switch was too hard and until recently
(HARMONY-4915) the Harmony build only supported compilation with ECJ.
And here is the JIRA: HARMONY-4933.

--
Alexey

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

Mime
View raw message