You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2007/01/10 06:44:27 UTC
[jira] Updated: (HARMONY-2882)
[classlib][security]PKIXParameters.setDate(null) has no effect on the
original date value on RI but Harmony sets it to null.
[ https://issues.apache.org/jira/browse/HARMONY-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stepan Mishura updated HARMONY-2882:
------------------------------------
Component/s: (was: Classlib)
Non-bug differences from RI
Agreed on the dev list that this is non-bug difference and it won't be fixed.
See:
http://mail-archives.apache.org/mod_mbox/harmony-dev/200701.mbox/%3c6e47b64f0701090339x72ada7d9p1be9122252e814c9@mail.gmail.com%3e
> [classlib][security]PKIXParameters.setDate(null) has no effect on the original date value on RI but Harmony sets it to null.
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2882
> URL: https://issues.apache.org/jira/browse/HARMONY-2882
> Project: Harmony
> Issue Type: Bug
> Components: Non-bug differences from RI
> Reporter: Leo Li
> Assigned To: Stepan Mishura
> Attachments: patch-2882.diff
>
>
> Here is a testcase:
> public void testSetDate()
> {
> Set taSet = TestUtils.getTrustAnchorSet();
> PKIXParameters p = new PKIXParameters(taSet);
> Date toBeSet = new Date(555L);
> p.setDate(toBeSet);
> p.setDate(null);
> assertEquals(555L, p.getDate().getTime());
> }
> RI passes.
> Harmony fails.
--
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