Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3993

Build and run in openjdk 1.6

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 10.04
    • Release Branch 10.04
    • None
    • None
    • Fedora 10 + OpenJDK 1.6.0 (build 14.0-16) + OFBiz 10.04

    Description

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chrisg Christian Geisert
            shiys Shi Yusen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment