You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/12/19 09:00:21 UTC
[jira] Created: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
[java][security]CodeSource fails to get ObjectStreamField for field "location".
-------------------------------------------------------------------------------
Key: HARMONY-2787
URL: http://issues.apache.org/jira/browse/HARMONY-2787
Project: Harmony
Issue Type: Bug
Reporter: Leo Li
Here is a testcase:
public void testSerialization()
{
ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
ObjectStreamField objectStreamField = objectStreamClass.getField("location");
assertNotNull(objectStreamField);
}
RI passes.
Harmony fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stepan Mishura resolved HARMONY-2787.
-------------------------------------
Resolution: Fixed
Thanks Leo - the modified patch was applied to SECURITY module at r495199 - I've removed testing of serialization/deserialization for CodeSource object with certificate. This code passed on Harmony before and I can not say that this is regression testing. Also we have similar test case.
Please check that the issue was resolved as you expected.
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: https://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
> Attachments: patch-2787.zip
>
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> 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
[jira] Commented: (HARMONY-2787) [java][security]CodeSource fails
to get ObjectStreamField for field "location".
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464406 ]
Leo Li commented on HARMONY-2787:
---------------------------------
Hi, Stepan:
It is OK.
Verified. Thank you.
Leo.
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: https://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
> Attachments: patch-2787.zip
>
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> 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
[jira] Updated: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
Posted by "Leo Li (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2787?page=all ]
Leo Li updated HARMONY-2787:
----------------------------
Attachment: patch-2787.zip
Will somebody try this?
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: http://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
> Attachments: patch-2787.zip
>
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> RI passes.
> Harmony fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2787?page=all ]
Stepan Mishura updated HARMONY-2787:
------------------------------------
Component/s: Classlib
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: http://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> RI passes.
> Harmony fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stepan Mishura closed HARMONY-2787.
-----------------------------------
Verified by Leo.
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: https://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
> Attachments: patch-2787.zip
>
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> 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
[jira] Assigned: (HARMONY-2787) [java][security]CodeSource fails to
get ObjectStreamField for field "location".
Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2787?page=all ]
Stepan Mishura reassigned HARMONY-2787:
---------------------------------------
Assignee: Stepan Mishura
> [java][security]CodeSource fails to get ObjectStreamField for field "location".
> -------------------------------------------------------------------------------
>
> Key: HARMONY-2787
> URL: http://issues.apache.org/jira/browse/HARMONY-2787
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Leo Li
> Assigned To: Stepan Mishura
>
> Here is a testcase:
> public void testSerialization()
> {
> ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(CodeSource.class);
> ObjectStreamField objectStreamField = objectStreamClass.getField("location");
> assertNotNull(objectStreamField);
> }
> RI passes.
> Harmony fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira