Inconsistent jdk versions for hibernate3.jar and org/hibernate/cache/infinispan/tm/HibernateTransactionManagerLookup.class

Description

The manifest within the hibernate3.jar says it was created with jdk 1.5

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: gbadner
Build-Jdk: 1.5.0_16
Specification-Title: Hibernate Distribution
Specification-Version: 3.5.4-Final

However, the following cache components have 1.6 version(as you can see in the byte 7, with code 0x32, corresponding to java major version 1.6):

0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/tm/HibernateTransactionManagerLookup.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/PutFromLoadValidator$PendingPut.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/PutFromLoadValidator$PendingPutMap.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/TransactionalAccessDelegate.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/PutFromLoadValidator$RecentRemoval.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/PutFromLoadValidator$1.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/access/PutFromLoadValidator.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/collection/ReadOnlyAccess.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/collection/CollectionRegionImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/collection/TransactionalAccess.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/JndiInfinispanRegionFactory.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/FlagAdapter$1.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/FlagAdapter.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/AddressAdapter.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheHelper$EvictAll.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheHelper.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheHelper$NoAddress.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/AddressAdapterImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheHelper$Internal.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheAdapterImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/util/CacheAdapter.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/impl/BaseGeneralDataRegion.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/impl/BaseRegion.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/impl/BaseTransactionalDataRegion.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/impl/BaseRegion$InvalidateState.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/query/QueryResultsRegionImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/InfinispanRegionFactory.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/entity/EntityRegionImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/entity/ReadOnlyAccess.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/entity/TransactionalAccess.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/timestamp/TimestampTypeOverrides.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/timestamp/TimestampsRegionImpl.class
0:0:0:32 ./hibernate3/org/hibernate/cache/infinispan/TypeOverrides.class

This prevents the official jar from being used with 1.5 virtual machines.

The cache component in the official binary release should be compiled with 1.5 and the manifest should
indicate the greatest major version of all .class files it contains.

Environment

Linux Ubuntu
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

hibernate-distribution-3.5.4-Final

Out of Date

Assignee

Unassigned

Reporter

Luis Carvajal

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Affects versions

Priority

Major