[jboss-jira] [JBoss JIRA] Commented: (JBAS-3600) failure (jrockit) org.jboss.test.compatibility.test.SerialVersionUIDUnitTestCase

Brian Stansberry (JIRA) jira-events at jboss.com
Fri Sep 1 14:07:43 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBAS-3600?page=comments#action_12342613 ] 
            
Brian Stansberry commented on JBAS-3600:
----------------------------------------

The serialVersionUID probably is computed differently.  From the java.io.Serializable javadoc:

"However, it is strongly recommended that all serializable classes explicitly declare serialVersionUID values, since the default serialVersionUID computation is highly sensitive to class details that may vary depending on compiler implementations, ...."

> failure (jrockit) org.jboss.test.compatibility.test.SerialVersionUIDUnitTestCase
> --------------------------------------------------------------------------------
>
>                 Key: JBAS-3600
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3600
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite
>         Environment: Java Version 1.4.2_11 
> Java Vendor BEA Systems, Inc. 
> Java VM Name BEA JRockit(R) 
> Java VM Version R26.4.0-63-63688-1.4.2_11-20060626-2259-linux-ia32 
> Java VM Info  
> OS Name Linux 
> OS Version 2.6.9-34.0.2.ELsmp 
> OS Arch i386 
>            Reporter: Dimitris Andreadis
>             Fix For: JBossAS-4.0.5.GA
>
>
> test402Compatibility fails. I don't understand how the same test passes with jdk1.4. Is the serialVersionGUID computed differently?
> Failure Failures on SerialVersionComparisson:javax.enterprise.deploy.spi.status.ProgressEvent, javax.management.loading.MLet, javax.resource.ResourceException, javax.resource.spi.ConnectionEvent, javax.resource.spi.InvalidPropertyException, javax.resource.spi.work.WorkEvent, javax.security.jacc.EJBMethodPermission, javax.security.jacc.EJBRoleRefPermission, javax.security.jacc.WebResourcePermission, javax.security.jacc.WebRoleRefPermission, javax.security.jacc.WebUserDataPermission, javax.xml.registry.JAXRException, javax.xml.registry.RegistryException, javax.xml.rpc.JAXRPCException, javax.xml.rpc.ServiceException, javax.xml.rpc.soap.SOAPFaultException, javax.xml.soap.SOAPException
> junit.framework.AssertionFailedError: Failures on SerialVersionComparisson:javax.enterprise.deploy.spi.status.ProgressEvent,
> javax.management.loading.MLet,
> javax.resource.ResourceException,
> javax.resource.spi.ConnectionEvent,
> javax.resource.spi.InvalidPropertyException,
> javax.resource.spi.work.WorkEvent,
> javax.security.jacc.EJBMethodPermission,
> javax.security.jacc.EJBRoleRefPermission,
> javax.security.jacc.WebResourcePermission,
> javax.security.jacc.WebRoleRefPermission,
> javax.security.jacc.WebUserDataPermission,
> javax.xml.registry.JAXRException,
> javax.xml.registry.RegistryException,
> javax.xml.rpc.JAXRPCException,
> javax.xml.rpc.ServiceException,
> javax.xml.rpc.soap.SOAPFaultException,
> javax.xml.soap.SOAPException
> 	at org.jboss.test.compatibility.test.SerialVersionUIDUnitTestCase.test402Compatibility(SerialVersionUIDUnitTestCase.java:117)
> 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list