You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Chatree Srichart (Updated) (JIRA)" <ji...@apache.org> on 2012/01/04 11:03:38 UTC

[jira] [Updated] (OFBIZ-4638) OFBiz does not build when using OpenJDK 7

     [ https://issues.apache.org/jira/browse/OFBIZ-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatree Srichart updated OFBIZ-4638:
------------------------------------

    Attachment: java7.patch

I attach a patch file to solve the problem. The problem is OpenJDK 7 and also Oracle JDK 7 do not cast nested Map's value to the defined generic type correctly.
                
> OFBiz does not build when using OpenJDK 7
> -----------------------------------------
>
>                 Key: OFBIZ-4638
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4638
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>         Environment: Ubuntu 11.10
> $ java -version
> java version "1.7.0_147-icedtea"
> OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
> OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
>            Reporter: Sam Hamilton
>            Priority: Critical
>         Attachments: OpenJDK 7 Error.txt, java7.patch
>
>
> OFBiz does not build when using OpenJDK 7. 
> The log with the error is attached.
> Thanks
> Sam

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (OFBIZ-4638) OFBiz does not build when using OpenJDK 7

Posted by Hans Bakker <ma...@antwebsystems.com>.
comments or enhancements, very welcome!


On 01/04/2012 05:03 PM, Chatree Srichart (Updated) (JIRA) wrote:
>       [ https://issues.apache.org/jira/browse/OFBIZ-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Chatree Srichart updated OFBIZ-4638:
> ------------------------------------
>
>      Attachment: java7.patch
>
> I attach a patch file to solve the problem. The problem is OpenJDK 7 and also Oracle JDK 7 do not cast nested Map's value to the defined generic type correctly.
>
>> OFBiz does not build when using OpenJDK 7
>> -----------------------------------------
>>
>>                  Key: OFBIZ-4638
>>                  URL: https://issues.apache.org/jira/browse/OFBIZ-4638
>>              Project: OFBiz
>>           Issue Type: Bug
>>           Components: ALL APPLICATIONS
>>     Affects Versions: SVN trunk
>>          Environment: Ubuntu 11.10
>> $ java -version
>> java version "1.7.0_147-icedtea"
>> OpenJDK Runtime Environment (IcedTea7 2.0) (7~b147-2.0-0ubuntu0.11.10.1)
>> OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
>>             Reporter: Sam Hamilton
>>             Priority: Critical
>>          Attachments: OpenJDK 7 Error.txt, java7.patch
>>
>>
>> OFBiz does not build when using OpenJDK 7.
>> The log with the error is attached.
>> Thanks
>> Sam
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>