Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
========= 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)
Attachments
Issue Links
- duplicates
-
HARMONY-2519 [classlib][awt] Compatibility: java.awt.RenderingHints(RenderingHints.Key key,Object o) throws unexpected IllegalArgumentException while RI doesn'
- Closed
- is duplicated by
-
HARMONY-2519 [classlib][awt] Compatibility: java.awt.RenderingHints(RenderingHints.Key key,Object o) throws unexpected IllegalArgumentException while RI doesn'
- Closed