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

Simple context constructor is ambiguous for Java 5 compiler

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD