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

Release branches fail to compile with JDK 1.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 12.04, Release Branch 13.07, Release Branch 14.12
    • 14.12.01, 12.04.06, 13.07.02
    • framework
    • 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.

      Attachments

        1. ModelViewController_14-12.patch
          1 kB
          Martin Becker

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              mbecker Martin Becker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: