[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5789) Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater

Strong Liu (JIRA) noreply at atlassian.com
Fri Aug 19 23:02:07 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-5789.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 3.6.8
                   4.0.0.next
         Assignee: Strong Liu

patch applied, thanks

> Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
> ----------------------------------------------------------------
>
>                 Key: HHH-5789
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5789
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.4, 3.6.0.Beta1, 3.6.0.Beta2, 3.5.5, 3.6.0.Beta3, 3.6.0.Beta4, 3.5.6, 3.6.0.CR1, 3.6.0.CR2, 3.6.0
>         Environment: Linux fiona 2.6.32-5-amd64 #1 SMP Thu Nov 25 18:02:11 UTC 2010 x86_64 GNU/Linux
> java version "1.6.0_18"
> OpenJDK Runtime Environment (IcedTea6 1.8.3) (6b18-1.8.3-2)
> OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
>            Reporter: Miguel Landaeta
>            Assignee: Strong Liu
>             Fix For: 4.0.0.next, 3.6.8
>
>         Attachments: 0004-strict-type-inference-with-generics-code.patch, hibernate3_3.5.4.Final.buildlog
>
>
> Hi,
> In the BTS of Debian it was reported[1] that Hibernate 3.5.4 can not be built with recent versions of OpenJDK6.
> The compilation fails with a message similar to this one:
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
> /build/user-libhibernate3-java_3.5.4.Final-4-amd64-X7BsRy/libhibernate3-java-3.5.4.Final/entitymanager/src/main/java/org/hibernate/ejb/criteria/path/AbstractPathImpl.java:[194,39] invalid inferred types for M; inferred type does not conform to declared bound(s)
> inferred: java.util.Map<K,V>
> bound(s): java.util.Map<capture#829 of ?,capture#332 of ?>
> This is due to more strict type inference checks in OpenJDK6 1.8.2 and greater.
> Debian is going to release a stable version of their distribution soon with OpenJDK6 1.8.3, so it's required to be able to compile Hibernate with that JDK version.
> Any help to fix this problem is very welcomed.
> The full build log is attached.
> Thanks,
> 1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606295

--
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