6 Replies Latest reply on Nov 6, 2012 3:28 AM by nickarls

    Test failures with JDK7

    lafr

      I tried to compile the current JBoss AS7 sources from github.com with Oracle JDK 1.7.0_09 on Solaris 10 SPARC.

       

      But tests failed:

      -------------------------------------------------------

      T E S T S

      -------------------------------------------------------

      Running org.jboss.as.clustering.web.infinispan.SessionMapEntryTest

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.286 sec

      Running org.jboss.as.clustering.web.infinispan.SimpleExternalizerTestCase

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec

      Running org.jboss.as.clustering.web.infinispan.FineSessionAttributeStorageTest

      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec

      Running org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest

      Tests run: 22, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 2.028 sec <<< FAILURE!

      Running org.jboss.as.clustering.web.infinispan.SessionAttributeStorageFactoryTest

      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec

      Running org.jboss.as.clustering.web.infinispan.CoarseSessionAttributeStorageTest

      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec

       

      Results :

       

      Failed tests:   getSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 11206542> was not:<null>

        getMissingSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 12646526> was not:<null>

       

      Tests in error:

        removeSessionLocalNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)

       

       

      Is this expected, meaning JDK 1.6 is mandatory for compilation?