[arquillian-issues] [JBoss JIRA] (ARQ-846) Protect ExceptionProxy againts Non-Serializable origin

Bernard Labno (JIRA) jira-events at lists.jboss.org
Wed Apr 4 07:23:47 EDT 2012


Bernard Labno created ARQ-846:
---------------------------------

             Summary: Protect ExceptionProxy againts Non-Serializable origin
                 Key: ARQ-846
                 URL: https://issues.jboss.org/browse/ARQ-846
             Project: Arquillian
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0.CR7
            Reporter: Bernard Labno


After https://community.jboss.org/message/728205#728205:

The code in quesiton is here: https://github.com/arquillian/arquillian-core/blob/master/test/spi/src/main/java/org/jboss/arquillian/test/spi/ExceptionProxy.java#L225

Need a try catch around the ObjectOutputStream write part.. if it fails just write the empty byte array

The HTMLUnit Exception breaks the contract of Exception by not being serializable, and should be fixed as well, but I guess we can work around it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list