You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/08/28 08:40:22 UTC

[jira] Created: (HARMONY-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

[classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
-------------------------------------------------------------------------------------------

                 Key: HARMONY-1291
                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Richard Liang


Hello,

java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."

I will attach a patch to fix this issue.

Best regards,
Richard

-- 
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-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

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

Paulex Yang resolved HARMONY-1291.
----------------------------------

    Resolution: Fixed

Richard, patch applied at revision r437600, thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.


> [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1291
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1291.diff
>
>
> Hello,
> java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."
> I will attach a patch to fix this issue.
> Best regards,
> Richard

-- 
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-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

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

Paulex Yang closed HARMONY-1291.
--------------------------------


Verified by Richard.

> [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1291
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1291.diff
>
>
> Hello,
> java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."
> I will attach a patch to fix this issue.
> Best regards,
> Richard

-- 
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-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

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

Richard Liang updated HARMONY-1291:
-----------------------------------

    Attachment: Harmony-1291.diff

Hello,

Would you please try this patch? Thanks a lot.

Best regards,
Richard

> [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1291
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Attachments: Harmony-1291.diff
>
>
> Hello,
> java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."
> I will attach a patch to fix this issue.
> Best regards,
> Richard

-- 
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-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1291?page=comments#action_12430958 ] 
            
Richard Liang commented on HARMONY-1291:
----------------------------------------

Hello Paulex,

The fix looks good. Thanks a lot.

Best regards,
Richard

> [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1291
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1291.diff
>
>
> Hello,
> java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."
> I will attach a patch to fix this issue.
> Best regards,
> Richard

-- 
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-1291) [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly

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

Paulex Yang reassigned HARMONY-1291:
------------------------------------

    Assignee: Paulex Yang

> [classlib][sql] java.sql.SQLException#setNextException(SQLException ex) behaves incorrectly
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1291
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1291
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Richard Liang
>         Assigned To: Paulex Yang
>         Attachments: Harmony-1291.diff
>
>
> Hello,
> java.sql.SQLException#setNextException(SQLException ex) should add the "ex" to the end of the SQLException chain rather than replacing the next  exception directly . The spec says "adds an SQLException object to the end of the chain."
> I will attach a patch to fix this issue.
> Best regards,
> Richard

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