Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3114

Simple context constructor is ambiguous for Java 5 compiler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.3
    • core
    • None

    Description

      SimpleContext has 2 constructors, one that takes Map as an parameter and other that takes Context. However the Context extends Map and therefore Java 5 compiler using stricter rules then Java 1.4 would fail to compile any class that tries to invoke constructor taking the Context as an argument. As a result for example Scheduler will not compile under Java 5.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              had Jan Haderka
              had Jan Haderka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD