[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7156) Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6)

Strong Liu (JIRA) noreply at atlassian.com
Thu Mar 8 00:50:48 EST 2012


    [ https://hibernate.onjira.com/browse/HHH-7156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45860#comment-45860 ] 

Strong Liu commented on HHH-7156:
---------------------------------

another issue (org.hibernate.test.legacy.FooBarTest fail) found is caused by this change, 
http://www.oracle.com/technetwork/java/javase/compatibility-417013.html

{quote}
Area: API: Utilities
Synopsis: Inserting an Invalid Element into a TreeMap Throws an NPE
Description: Due to an error in java.util.TreeMap, it was previously possible to insert invalid null elements and elements not implementing the Comparable interface into an empty TreeMap or TreeSet. Only a single invalid element could be inserted into an empty TreeMap or TreeSet; additional elements would cause the expected NullPointerException or ClassCastException. Most other operations upon the collection would also fail. As of Java SE 7, inserting an invalid null element or an element not implementing Comparable into an empty TreeMap or TreeSet throws a NullPointerException.
Nature of Incompatibility: behavioral
RFE: 5045147
{quote}

> Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6)
> ----------------------------------------------------------------
>
>                 Key: HHH-7156
>                 URL: https://hibernate.onjira.com/browse/HHH-7156
>             Project: Hibernate ORM
>          Issue Type: Improvement
>          Components: build
>            Reporter: Strong Liu
>            Assignee: Strong Liu
>             Fix For: 4.1.2
>
>
> problem is that the JBoss Logging tools annotation processor fails to run on JDK 7 at least for

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list