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 04:04:21 UTC

[jira] Created: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

[classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
---------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2785
                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Leo Li
         Attachments: patch-2785.diff

Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2785?page=all ]

Leo Li updated HARMONY-2785:
----------------------------

    Attachment: patch-2785-withRegressionTest.diff

Hi, Stepan:
      At last I decided to make a little modification in the original test to reflect the right security property and I think it is enough.
      Please check my new patch and apply it if appropriate.
      Thank you.

Leo.

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785-withRegressionTest.diff, patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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] Commented: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2785?page=comments#action_12460122 ] 
            
Stepan Mishura commented on HARMONY-2785:
-----------------------------------------

That's true, it is not possible to unset security property. I'm OK with using Support_Exec.execJava  for this case.


> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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] Commented: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2785?page=comments#action_12459833 ] 
            
Stepan Mishura commented on HARMONY-2785:
-----------------------------------------

Hi Leo,

Could you provide a regression test?

Thanks,
Stepan.

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2785?page=all ]

Stepan Mishura resolved HARMONY-2785.
-------------------------------------

    Resolution: Fixed

Thanks Leo - the patch for CertPathBuilder was applied to SECURITY module at r490112. Also I've fixed unit test for CertPathBuilder.getDefaultType(). The test didn't test the method correctly - it passed even CertPathBuilder.PROPERTYNAME has correct value.

Please check that the issue was resolved as you expected.

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785-withRegressionTest.diff, patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2785?page=all ]

Stepan Mishura closed HARMONY-2785.
-----------------------------------


Verified by Leo.

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785-withRegressionTest.diff, patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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] Commented: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2785?page=comments#action_12460941 ] 
            
Leo Li commented on HARMONY-2785:
---------------------------------

Verified. Thank you.

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785-withRegressionTest.diff, patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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] Commented: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2785?page=comments#action_12459930 ] 
            
Leo Li commented on HARMONY-2785:
---------------------------------

Hi, Stepan:
      I have encountered a problem: I need to add a new security property but then how to remove it after testing in order not to influence the later ones?
      If it is hard to achieve, I would like to use Support_Exec.execJava to test it in another stand-alone java program.
      What is your suggestion?

Thank you.
Leo.
       

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2785?page=all ]

Leo Li updated HARMONY-2785:
----------------------------

    Attachment: patch-2785.diff

Will somebody try this?

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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] Assigned: (HARMONY-2785) [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2785?page=all ]

Stepan Mishura reassigned HARMONY-2785:
---------------------------------------

    Assignee: Stepan Mishura

> [classlib][security]CertPathBuilder.getDefaultType fails to get the one specified in security.properties.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2785
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2785
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Stepan Mishura
>         Attachments: patch-2785.diff
>
>
> Actually, it is a typo in CertPathBuilder.PROPERTYNAME = "certpathbuild.type", but it should be "certpathbuilder.type".

-- 
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