|
[ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450446#comment-13450446 ] Jacques Le Roux commented on OFBIZ-4749: ---------------------------------------- Agreed Christian, my point was about releasing 10.04 for jdk 7 > 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 > Priority: Critical > Labels: build-failure > Fix For: Release 10.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<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method <V,V1,V2,V3>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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450455#comment-13450455 ] Paul Foxworthy commented on OFBIZ-4749: --------------------------------------- Hi Christian, Does 10.04 plus these four patches: https://fisheye6.atlassian.com/changelog/ofbiz?cs=1167132 https://fisheye6.atlassian.com/changelog/ofbiz?cs=1139858 https://fisheye6.atlassian.com/changelog/ofbiz?cs=1299985 https://fisheye6.atlassian.com/changelog/ofbiz?cs=1059352 build successfully with OpenJDK 6? Thanks Paul Foxworthy > 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 > Priority: Critical > Labels: build-failure > Fix For: Release 10.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<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method <V,V1,V2,V3>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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450460#comment-13450460 ] Jacques Le Roux commented on OFBIZ-4749: ---------------------------------------- Thanks Paul, Easier way to get the patches: https://fisheye6.atlassian.com/rdiff/ofbiz?csid=1167132&u&N etc. You still have to clean the pathes, I dont' know easier ways > 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 > Priority: Critical > Labels: build-failure > Fix For: Release 10.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<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method <V,V1,V2,V3>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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456665#comment-13456665 ] Jacques Le Roux commented on OFBIZ-4749: ---------------------------------------- OK, I just tried and it works. Since the r1059352 patch does not apply completely, I simply changed the needed line by hand in InvoiceServices.java[104]: - invoicesCreated.add(UtilMisc.toMap("commissionInvoiceId",invoiceId, "salesRepresentative ",partyIdBillFrom)); + invoicesCreated.add(UtilMisc.<String, String>toMap("commissionInvoiceId",invoiceId, "salesRepresentative ",partyIdBillFrom)); Thanks a bunch Paul, this will help to move things forwards in some domains > 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 > Priority: Critical > Labels: build-failure > Fix For: Release 10.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<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method <V,V1,V2,V3>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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4749. ---------------------------------- Resolution: Fixed Fix Version/s: Release Branch 11.04 Assignee: Jacques Le Roux This has been fixed at R10.04 r1386469 R11.04 r1386470 I did not run the tests locally yet. They should be run by BuilBot later, let's see... > 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 Branch 11.04, Release 10.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<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( > [javac16] ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method <V,V1,V2,V3>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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free forum by Nabble | Edit this page |
