Return-Path: X-Original-To: apmail-ofbiz-dev-archive@www.apache.org Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9EA5B6A7 for ; Wed, 4 Jan 2012 10:05:08 +0000 (UTC) Received: (qmail 76747 invoked by uid 500); 4 Jan 2012 10:05:07 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 76220 invoked by uid 500); 4 Jan 2012 10:04:35 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 76210 invoked by uid 99); 4 Jan 2012 10:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 10:04:24 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 10:04:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 62CAD137C5F for ; Wed, 4 Jan 2012 10:03:38 +0000 (UTC) Date: Wed, 4 Jan 2012 10:03:38 +0000 (UTC) From: "Chatree Srichart (Updated) (JIRA)" To: dev@ofbiz.apache.org Message-ID: <1287168174.4082.1325671418406.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1292521673.50663.1325140111958.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OFBIZ-4638) OFBiz does not build when using OpenJDK 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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