[ http://issues.apache.org/jira/browse/HARMONY-1345?page=comments#action_12432407 ] Richard Liang commented on HARMONY-1345: ---------------------------------------- Hello Paulex, Yes. I included the serialization test to verify the behavior of get/setNextWarning. Best regards, Richard. > [classlib][sql] java.sql.SQLWarning#setNextWarning(SQLWarning ex) should add the SQLWarning ex to the end of the SQLWarning chain rather than replacing the next exception directly > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-1345 > URL: http://issues.apache.org/jira/browse/HARMONY-1345 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Richard Liang > Assigned To: Paulex Yang > Attachments: Harmony-1345.zip > > > Hello, > java.sql.SQLWarning#setNextWarning(SQLWarning ex) should add the SQLWarning ex to the end of the SQLWarning chain rather than replacing the next exception directly. And method getNextWarning acts differently from RI when the chain has an object which is an instance of SQLException(which is added by the setNextException method)but not a SQLWaring. > 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