Support for building with Java 8 JDK

Environment

None

Activity

Show:
Steve Ebersole
May 7, 2014, 6:07 PM

I had hoped to port this to 4.3 branch for more stable testing, but unfortunately things were actually less stable on 4.3. Initial attempts to build with Java 8 from a fresh check out hit the same initial problems I saw on master, namely:

  1. problems with source-generation for JBoss Logging

  2. problems with animal sniffer wrt ConcurrentHashMap#keySet

However, attempts to resolve the logging generation in the same manner as I did on master (doing the AP as part of the main javac execution) led to very odd problems on 4.3. Everything built/compiled fine, but we ended up with each-and-every tests failing due to "java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.testing.junit4.CustomRunner"

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure