harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2066) [classlib][awt] RenderingHints throws unexpected NPE
Date Mon, 22 Jan 2007 17:56:30 GMT

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

Alexei Zakharov updated HARMONY-2066:
-------------------------------------

    Component/s:     (was: Classlib)
                 Non-bug differences from RI

Make sense, +1 from me. Moving it to non-bug-diff.

> [classlib][awt] RenderingHints throws unexpected NPE
> ----------------------------------------------------
>
>                 Key: HARMONY-2066
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2066
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Denis Kishenko
>
> ========= Spec ============
> Nothing about exceptions
> ============ Test ===========
> import java.awt.RenderingHints;
> import javax.swing.text.DefaultEditorKit;
> public class Test {
>     public static void main(String args[]) {
>         RenderingHints localRenderingHints = new RenderingHints(
>                 RenderingHints.KEY_ANTIALIASING,
>                 new DefaultEditorKit());
>         System.out.println("passed");
>     }                        
> }
> ========== RI ============
> passed
> ============= Harmony ==========
> Uncaught exception in main:
>     java.lang.IllegalArgumentException
>         at java.awt.RenderingHints.put(RenderingHints.java:99)
>         at java.awt.RenderingHints.<init>(RenderingHints.java:79)
>         at Test.main(Test.java:9)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message