Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6975E200BAF for ; Mon, 31 Oct 2016 12:57:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 68020160B05; Mon, 31 Oct 2016 11:57:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3BE4160AF0 for ; Mon, 31 Oct 2016 12:57:02 +0100 (CET) Received: (qmail 20313 invoked by uid 500); 31 Oct 2016 11:57:00 -0000 Mailing-List: contact notifications-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 notifications@ofbiz.apache.org Received: (qmail 20292 invoked by uid 99); 31 Oct 2016 11:57:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2016 11:57:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D7E912C2A67 for ; Mon, 31 Oct 2016 11:56:59 +0000 (UTC) Date: Mon, 31 Oct 2016 11:56:59 +0000 (UTC) From: "Paul Foxworthy (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-4749) OfBiz 10.04 Does not compile with Oracle JDK 7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 31 Oct 2016 11:57:03 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15621961#comment-15621961 ] Paul Foxworthy commented on OFBIZ-4749: --------------------------------------- Jacques's r1386469 https://fisheye6.atlassian.com/rdiff/ofbiz?csid=1386469&u&N does indeed fix release 10.04 In addition, there are some missing dependencies from build.xml files. These were fixed in OFBIZ-5835. Do both these things, and 10.04 compiles with the OpenJDK 8 compiler. > OfBiz 10.04 Does not compile with Oracle JDK 7 > ---------------------------------------------- > > Key: OFBIZ-4749 > URL: https://issues.apache.org/jira/browse/OFBIZ-4749 > Project: OFBiz > Issue Type: Bug > Affects Versions: Release 10.04 > Environment: Windows 7, Oracle JDK 7 > Reporter: Karl Laird > Assignee: Jacques Le Roux > Priority: Critical > Labels: build-failure > Fix For: Release 10.04, Release Branch 11.04 > > > The OFBIZ version is apache-ofbiz-10.04 > When I'm compiling the project with the embedded and using ant run-install run there is a error message > classes: > [javac16] Compiling 13 source files to C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\build\classes > [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6 > [javac16] C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\src\org\ofbiz\security\OFBizSecurity.java:52: error: invalid inferred types for V; inferred type does not conform to declared bound(s) > [javac16] protected static final Map> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map > [javac16] bound(s): Map > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method toMap(String,V1,String,V2,String,V3) > [javac16] 1 error > [javac16] 1 warning > Changing to use JDK 6 works around this issue - however given that EOL for JDK6 is November 2012 (IE this year, already extended from July) this is not a long term solution. > Regards > Karl -- This message was sent by Atlassian JIRA (v6.3.4#6332)