Restore compatibility with Java 6 on branch 5.1

Description

Apparently while the readme in branch 5.1 promises compatibility with Java 6, this was mistakenly broken.

This JIRA to track and fix it.

Related discussion on the mailing list:

Activity

Former userNovember 28, 2018 at 10:33 PM

The change in JDK compatibility will also be mentioned in readme.

Former userNovember 28, 2018 at 10:32 PM

The change in JDK compatibility will be added to the migration notes and will be updated on hibernate.org (http://hibernate.org/orm/releases/5.1/)

Former userNovember 28, 2018 at 10:30 PM

It turns out that upgrading dom4j to 2.2.1 (HHH-12964) requires JDK8 in 5.1.17 anyhow, so it will not be possible to restore compatibility with JDK6 in 5.1, so resolving this as "Won't Fix".

Radovan StancelJuly 20, 2018 at 7:46 PM

I have updated PR with proposed solution how to fix it.

Sanne GrinoveroJuly 16, 2018 at 3:16 PM

Hi , Animal Sniffer is only used to warn us about unintended API changes.

If you just need to build it for Java 6 you can remove the plugin and/or ignore it, it won't affect the output.

Won't Fix

Details

Assignee

Reporter

Priority

Created February 14, 2018 at 2:14 PM
Updated November 28, 2018 at 11:12 PM
Resolved November 28, 2018 at 10:30 PM