You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2015/04/24 17:18:43 UTC

[jira] [Commented] (OFBIZ-6300) Compiler-Error with JDK 1.8 and source compatibility 1.8

    [ https://issues.apache.org/jira/browse/OFBIZ-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511204#comment-14511204 ] 

Adam Heath commented on OFBIZ-6300:
-----------------------------------

I have been getting additional generics warnings when using 1.8 to compile in 1.7 mode; I'm not surprised if there are actual errors in 1.8 mode as well.

I had been meaning to create a 1.8 compile target top-level issue, but hadn't yet gotten to it.  So, before the patch promised is accepted, I'd like to create a top-level catch-all, and link this into it, maybe.

> Compiler-Error with JDK 1.8 and source compatibility 1.8
> --------------------------------------------------------
>
>                 Key: OFBIZ-6300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6300
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Martin Becker
>            Assignee: Adam Heath
>
> I just found another error compiling the code with JDK 1.8 with source code compatibility switched to 1.8 in my eclipse workspace. The external ant build is working because there is java version 1.7 defined as target in the macros.xml.
> The error is an issue regarding generics in EntityFieldMap.java.
> I will provide a patch her soon.
> The code is the same in the release branches.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)