You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2008/01/11 14:19:34 UTC
[jira] Resolved: (HARMONY-4933) [classlib][swing] javac fails to
compile javax\swing\text\html\StyleSheet.java and
org\apache\harmony\awt\gl\font\FontManager.java
[ https://issues.apache.org/jira/browse/HARMONY-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-4933.
----------------------------------
Resolution: Fixed
Fixed the StyleSheet, but the FontManager problem no longer exists in the version of Sun's javac I have (1_6_0_b03) so I'm assuming it was a Sun bug that has been fixed.
Committed in SWING module at repo revision r611156.
Alexey, please check this now works for you.
> [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.