You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Ikuo YAMASAKI (JIRA)" <ji...@apache.org> on 2011/04/15 10:42:05 UTC

[jira] [Created] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
-------------------------------------------------------------------------

                 Key: FELIX-2917
                 URL: https://issues.apache.org/jira/browse/FELIX-2917
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-3.2.0
         Environment: J2SE-1.4
            Reporter: Ikuo YAMASAKI


The constructor of SecurityException with Throwable must not be used.
For example, Felix.java has 
--------
throw new SecurityException(ex);
throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
--------
Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2917:
-----------------------------------

    Fix Version/s:     (was: framework-4.0.0)
                   framework-3.2.1

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.1
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-2917.
----------------------------------

    Resolution: Fixed

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.1
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021029#comment-13021029 ] 

Richard S. Hall commented on FELIX-2917:
----------------------------------------

4.0.0 won't be any time soon, but we are going to roll a 3.2.1 release this week, which will include this.

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-4.0.0
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall reopened FELIX-2917:
------------------------------------


> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.1
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Ikuo YAMASAKI (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ikuo YAMASAKI closed FELIX-2917.
--------------------------------


Richard, Thanks. I confirmed it.
Do you have any plan when framework-4.0.0 will be released ?

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-4.0.0
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2917:
-----------------------------------

    Fix Version/s: framework-4.0.0

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>             Fix For: framework-4.0.0
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (FELIX-2917) Constructor of SecurityExceptino() which is incompatible to 1.4 is used

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-2917.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I have committed a patch to resolve this issue. I fixed the issue you pointed out, plus a couple more. Please close this issue if you are satisfied. Thanks.

> Constructor of SecurityExceptino() which is incompatible to 1.4 is used  
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2917
>                 URL: https://issues.apache.org/jira/browse/FELIX-2917
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.2.0
>         Environment: J2SE-1.4
>            Reporter: Ikuo YAMASAKI
>            Assignee: Richard S. Hall
>             Fix For: framework-4.0.0
>
>
> The constructor of SecurityException with Throwable must not be used.
> For example, Felix.java has 
> --------
> throw new SecurityException(ex);
> throw new SecurityException("Unable to install custom SecurityManager: " + security, t);
> --------
> Other classes might use those constructors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira