You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Alexei Zakharov <al...@gmail.com> on 2007/03/20 10:22:08 UTC

[classlib][awt] possible non-bug-diff in RenderingHints

Hi all,

In case if somebody cares. Recently I've closed one AWT JIRA -
HARMONY-2066. However, yesterday after a short review I realized that
the problem worth mentioning in the mailing list.

The java.awt.RenderingHints class. This is a map that have possible
keys and values described directly as static members of the class.
This way, the set of all possible values for given key is defined.
Harmony currently throws IllegalArgumentException in case if given
value does not belong to predefined set. RI silently accepts it (with
possible problems in the future). For the exact test case please see
[1]. Spec say nothing about what should the implementation do if
incorrect value is specified (as always).

It was suggested to treat this as a Non-bug difference from RI. Any
thoughts, objections?

[1] https://issues.apache.org/jira/browse/HARMONY-2066

Thanks,
-- 
Alexei Zakharov,
Intel ESSD

Re: [classlib][awt] possible non-bug-diff in RenderingHints

Posted by Alexey Petrenko <al...@gmail.com>.
+1 for non-bug-difference

2007/3/20, Alexei Zakharov <al...@gmail.com>:
> Hi all,
>
> In case if somebody cares. Recently I've closed one AWT JIRA -
> HARMONY-2066. However, yesterday after a short review I realized that
> the problem worth mentioning in the mailing list.
>
> The java.awt.RenderingHints class. This is a map that have possible
> keys and values described directly as static members of the class.
> This way, the set of all possible values for given key is defined.
> Harmony currently throws IllegalArgumentException in case if given
> value does not belong to predefined set. RI silently accepts it (with
> possible problems in the future). For the exact test case please see
> [1]. Spec say nothing about what should the implementation do if
> incorrect value is specified (as always).
>
> It was suggested to treat this as a Non-bug difference from RI. Any
> thoughts, objections?
>
> [1] https://issues.apache.org/jira/browse/HARMONY-2066
>
> Thanks,
> --
> Alexei Zakharov,
> Intel ESSD
>