harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4933) [classlib][swing] javac fails to compile javax\swing\text\html\StyleSheet.java and org\apache\harmony\awt\gl\font\FontManager.java
Date Mon, 23 Jun 2008 12:44:45 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Ellison closed HARMONY-4933.
--------------------------------


No response, assuming the fix is ok.

> [classlib][swing] javac fails to compile javax\swing\text\html\StyleSheet.java and org\apache\harmony\awt\gl\font\FontManager.java
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4933
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4933
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Varlamov
>            Assignee: Tim Ellison
>            Priority: Minor
>
> To reproduce:
> working_classlib>ant -Dbuild.module=swing -Dhy.javac.compiler=modern rebuild-java
> ...
>  [hy.javac] C:\apache-dev\Harmony\trunk\working_classlib\modules\awt\src\main\ja
> va\common\org\apache\harmony\awt\gl\font\FontManager.java:841: inconvertible types
>  [hy.javac] found   : java.lang.ref.Reference<capture of ? extends java.awt.peer.FontPeer>
>  [hy.javac] required: org.apache.harmony.awt.gl.font.FontManager.HashMapReference
>  [hy.javac]         while ((r = (HashMapReference)queue.poll()) != null) {
>  [hy.javac]                                                 ^
>  [hy.javac] C:\apache-dev\Harmony\trunk\working_classlib\modules\swing\src\main\
> java\common\javax\swing\text\html\StyleSheet.java:820: reference to removeAttrib
> utes is ambiguous, both method removeAttributes(javax.swing.text.AttributeSet,ja
> va.util.Enumeration<?>) in javax.swing.text.StyleContext and method removeAttrib
> utes(javax.swing.text.AttributeSet,javax.swing.text.html.StyleSheet.NameConverte
> rEnumeration) in javax.swing.text.html.StyleSheet match
>  [hy.javac]         return removeAttributes(old, new NameConverterEnumeration(old, rem));
>  [hy.javac]                ^
>  [hy.javac] C:\apache-dev\Harmony\trunk\working_classlib\modules\swing\src\main\
> java\common\javax\swing\text\html\StyleSheet.java:825: reference to removeAttrib
> utes is ambiguous, both method removeAttributes(javax.swing.text.AttributeSet,ja
> va.util.Enumeration<?>) in javax.swing.text.StyleContext and method removeAttrib
> utes(javax.swing.text.AttributeSet,javax.swing.text.html.StyleSheet.NameConverte
> rEnumeration) in javax.swing.text.html.StyleSheet match
>  [hy.javac]         return removeAttributes(old, new NameConverterEnumeration(names));
>  [hy.javac]                ^
>  [hy.javac] 3 errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message