[jboss-cvs] JBossAS SVN: r82028 - trunk/testsuite/src/main/org/jboss/test/compatibility/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Dec 4 00:05:27 EST 2008
Author: smcgowan at redhat.com
Date: 2008-12-04 00:05:27 -0500 (Thu, 04 Dec 2008)
New Revision: 82028
Modified:
trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java
Log:
JBAS-5872 - added exclude for running with JDK 6
Modified: trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java 2008-12-04 02:34:58 UTC (rev 82027)
+++ trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java 2008-12-04 05:05:27 UTC (rev 82028)
@@ -71,7 +71,9 @@
"org.jboss.cache.ReplicationException",
"org.jboss.logging.XLevel",
"org.jboss.mx.util.InstanceOfQueryExp",
- "org.jboss.virtual.plugins.context.jar.NestedJarFromStream"
+ "org.jboss.virtual.plugins.context.jar.NestedJarFromStream",
+ // Exclude due to mismatch when running with JDK 6
+ "javax.xml.ws.soap.SOAPFaultException"
};
System.out.println("+++ test423Compatibility");
@@ -120,7 +122,7 @@
"org.omg.CosTransactions._TransactionalObjectStub"
};
- System.out.println("+++ testJavaEER50Compatibility");
+ System.out.println("+++ testJavaEE50Compatibility");
System.getProperties().remove("org.jboss.j2ee.LegacySerialization");
String etc = System.getProperty("jbosstest.src.etc", "../src/etc");
File serFile = new File(etc, "serialVersionUID/javaee500.ser");
@@ -146,11 +148,11 @@
{
ClassVersionInfo cvi = (ClassVersionInfo) iter.next();
String name = cvi.getName();
- ClassVersionInfo cvi423 = (ClassVersionInfo) classInfoMap.get(name);
- if( cvi423 != null && cvi.getSerialVersion() != cvi423.getSerialVersion() )
+ ClassVersionInfo cviLegacy = (ClassVersionInfo) classInfoMap.get(name);
+ if( cviLegacy != null && cvi.getSerialVersion() != cviLegacy.getSerialVersion() )
{
String msg = "serialVersionUID error for "+name
- +", " + versionName + " " + cvi423.getSerialVersion()
+ +", " + versionName + " " + cviLegacy.getSerialVersion()
+", current: "+cvi.getSerialVersion();
// Don't count classes from badPackages
boolean isInBadPkg = false;
More information about the jboss-cvs-commits
mailing list