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
--
Davanum Srinivas :: http://davanum.wordpress.com