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

Release branches fail to compile with JDK 1.8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12
    • Fix Version/s: 14.12.01, 12.04.06, 13.07.02
    • Component/s: framework
    • Labels:
      None

      Description

      Due to a bug that was already fixed in trunk by Adrian C. (Jan 2015) but not in the current release branches (I checked 12.04, 13.07 and 14.12), the branches could not be compiled using JDK 1.8 because it discovers an "variable operator might not have been initialized" error in ModelViewController.java.

      Furthermore this is also a logical bug that leads to an incomplete error message.

      So the trivial fix should be applied to the release branches, I will attach one for 14.12.

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks Martin,

          After OFBIZ-5835 I thought it was OK, I must have forgot to clean before since it was the 17th February so after Adrian's fix on trunk at r1655795 which was end of January. BTW we should have backported this fix!

          Your patch is in
          R14.12 r1674364

          I backported Adrian's commit in
          R13.07 r1674365
          R12.04 r1674366

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks Martin, After OFBIZ-5835 I thought it was OK, I must have forgot to clean before since it was the 17th February so after Adrian's fix on trunk at r1655795 which was end of January. BTW we should have backported this fix! Your patch is in R14.12 r1674364 I backported Adrian's commit in R13.07 r1674365 R12.04 r1674366

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              mbecker Martin Becker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development