Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      classes:
      [javac17] Compiling 144 source files to D:\ofbiz-clean\framework\entity\build\classes
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
      [javac17] public int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException {
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:426: error: method getEntityNamesByGroup in class ModelGroupReader cannot be applied to given types;
      [javac17] Set<String> entityNameSet = getModelGroupReader().getEntityNamesByGroup(groupName);
      [javac17] ^
      [javac17] required: String,String
      [javac17] found: String
      [javac17] reason: actual and formal argument lists differ in length
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated
      [javac17] delegator.storeAll(valuesToWrite, doCacheClear, createDummyFks);
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated
      [javac17] Configuration config = new Configuration();
      [javac17] ^
      [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated
      [javac17] delegator.removeAll(valuesToDelete, doCacheClear);
      [javac17] ^
      [javac17] Note: Some input files use unchecked or unsafe operations.
      [javac17] Note: Recompile with -Xlint:unchecked for details.
      [javac17] 1 error
      [javac17] 4 warnings

      BUILD FAILED
      D:\ofbiz-clean\build.xml:421: The following error occurred while executing this line:
      D:\ofbiz-clean\build.xml:438: The following error occurred while executing this line:
      D:\ofbiz-clean\macros.xml:39: The following error occurred while executing this line:
      D:\ofbiz-clean\common.xml:91: Compile failed; see the compiler error output for details.

        Activity

        Hide
        soledad Nicolas Malin added a comment -

        Thanks Wei Zhang, it's fixed on trunk revision 1687679

        @Jacques, I fixed the compilation error but can you check if the correction is correct with your improvement OFBIZ-6532 ? I think yes but I prefer a confirmation

        Show
        soledad Nicolas Malin added a comment - Thanks Wei Zhang, it's fixed on trunk revision 1687679 @Jacques, I fixed the compilation error but can you check if the correction is correct with your improvement OFBIZ-6532 ? I think yes but I prefer a confirmation
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Nicolas, Zhang,

        Yes I confirm it's OK, I close the issue, the trunk demo is restarting also.

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Nicolas, Zhang, Yes I confirm it's OK, I close the issue, the trunk demo is restarting also.

          People

          • Assignee:
            soledad Nicolas Malin
            Reporter:
            tzngvi Wei Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development