You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/04/29 15:57:55 UTC

[jira] [Commented] (OFBIZ-3993) Build and run in openjdk 1.6

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

Jacques Le Roux commented on OFBIZ-3993:
----------------------------------------

I wonder if we should still care about openjdl 1.6 or rather focus now on openjdl 1.7 and close this issue, opinions?
                
> Build and run in openjdk 1.6
> ----------------------------
>
>                 Key: OFBIZ-3993
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3993
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 10.04
>         Environment: Fedora 10 + OpenJDK 1.6.0 (build 14.0-16) + OFBiz 10.04
>            Reporter: Shi Yusen
>         Attachments: ofbiz-10.04-openjdk1.6-patach.txt, ofbiz-11.04-openjdk1.6-patch.txt
>
>
> OFBiz cannot be built in OpenJDK 1.6.0 reported by fdap@free.fr:
>   build:
>      [echo] [build] ========== Start Building Framework (Compile) ==========
>   .../...
>   classes:
>     [javac16] /srv/www/Ofbiz-10.04/common.xml:93: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
>     [javac16] Compiling 55 source files to /srv/www/Ofbiz-10.04/applications/product/build/classes
>     [javac16] /srv/www/Ofbiz-10.04/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1231: cannot find symbol
>     [javac16] symbol  : method add(java.util.Map<java.lang.String,java.lang.Object>)
>     [javac16] location: interface java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>     [javac16]             featureCountList.add(UtilMisc.toMap("productFeatureId", (String) searchResult.get("pfacProductFeatureId"), "productFeatureTypeId", (String) searchResult.get("pfcProductFeatureTypeId"), "description", (String) searchResult.get("pfcDescription"), "featureCount", Long.toString((Long) searchResult.get("featureCount"))));
>     [javac16]                             ^
>     [javac16] 1 error

--
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] [Commented] (OFBIZ-3993) Build and run in openjdk 1.6

Posted by Pierre Smits <pi...@gmail.com>.
If metrics (statistics) are available and the majority is on openjdk 1.6 I
believe we should facilitate the majority.

2012/4/29 Jacques Le Roux (JIRA) <ji...@apache.org>

>
>    [
> https://issues.apache.org/jira/browse/OFBIZ-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264543#comment-13264543]
>
> Jacques Le Roux commented on OFBIZ-3993:
> ----------------------------------------
>
> I wonder if we should still care about openjdl 1.6 or rather focus now on
> openjdl 1.7 and close this issue, opinions?
>
> > Build and run in openjdk 1.6
> > ----------------------------
> >
> >                 Key: OFBIZ-3993
> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-3993
> >             Project: OFBiz
> >          Issue Type: Bug
> >    Affects Versions: Release Branch 10.04
> >         Environment: Fedora 10 + OpenJDK 1.6.0 (build 14.0-16) + OFBiz
> 10.04
> >            Reporter: Shi Yusen
> >         Attachments: ofbiz-10.04-openjdk1.6-patach.txt,
> ofbiz-11.04-openjdk1.6-patch.txt
> >
> >
> > OFBiz cannot be built in OpenJDK 1.6.0 reported by fdap@free.fr:
> >   build:
> >      [echo] [build] ========== Start Building Framework (Compile)
> ==========
> >   .../...
> >   classes:
> >     [javac16] /srv/www/Ofbiz-10.04/common.xml:93: warning:
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
> to false for repeatable builds
> >     [javac16] Compiling 55 source files to
> /srv/www/Ofbiz-10.04/applications/product/build/classes
> >     [javac16]
> /srv/www/Ofbiz-10.04/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1231:
> cannot find symbol
> >     [javac16] symbol  : method
> add(java.util.Map<java.lang.String,java.lang.Object>)
> >     [javac16] location: interface
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
> >     [javac16]
> featureCountList.add(UtilMisc.toMap("productFeatureId", (String)
> searchResult.get("pfacProductFeatureId"), "productFeatureTypeId", (String)
> searchResult.get("pfcProductFeatureTypeId"), "description", (String)
> searchResult.get("pfcDescription"), "featureCount", Long.toString((Long)
> searchResult.get("featureCount"))));
> >     [javac16]                             ^
> >     [javac16] 1 error
>
> --
> 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
>
>
>