ptsekov in JBossCache

* SerialVersionUIDUnitTestCase.java: Remove tests for 1.3.0 and 1.4.0

compatibility since JBC 2.x.x is API incompatible with older releases.

* SerialVersionUIDUnitTestCase.java: Blacklist classes with known SVUID

incompatibilities between JBC 1.3.0 and JBC 1.4.0 (JBCACHE-918).

* build.xml: Merge the compat-tests target from the 1.4.0 branch.

* tests/compat/*: Merge org.jboss.tools.SerialVersionUID and

org.jboss.cache.compat.SerialVersionUIDUnitTestCase from the 1.4.0 branch.

  1. /core/trunk/tests/compat/org/jboss/cache/compat
    • -0
    • +137
    /core/trunk/tests/compat/org/jboss/tools/ClassVersionInfo.java
    • -0
    • +236
    /core/trunk/tests/compat/org/jboss/tools/SerialVersionUID.java
* SerialVersionUIDUnitTestCase.java: Add tests for compatibility with JBossCache 1.3.0.GA and 1.4.0.GA.

* etc/svuid-db/svuid-14.1.3.0.GA.xml: SVUID database for JBossCache 1.3.0

and JDK 1.4 .

* etc/svuid-db/svuid-14.1.4.0.GA.xml: SVUID database for JBossCache 1.4.0

and JDK 1.4 .

* etc/svuid-db/svuid-50.1.3.0.GA.xml: SVUID database for JBossCache 1.3.0

and JDK 5.

* etc/svuid-db/svuid-50.1.4.0.GA.xml: SVUID database for JBossCache 1.4.0

and JDK 5.

* SerialVersionUID.java (SerialVersionUID::outputXML): New class variable.

(SerialVersionUID::processProperties): Add support for new boolean property 'output.xml'.

(SerialVersionUID::main): Write the collected information as either serialized java object or as XML generated by java.beans.XMLEncoder.

* SerialVersionUID.java (SerialVersionUID::processProperties): Do not copy non-existing system properties.

Add a no-argument constructor and setter methods for each getter method. Make this class look more like a JavaBean so that it can be serialized via java.beans.XMLEncoder.

Add support for testing whether serialized objects remain compatible with older versions of JBossCache (JBQA-536).