Simple context constructor is ambiguous for Java 5 compiler
-----------------------------------------------------------

                 Key: MAGNOLIA-3114
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3114
             Project: Magnolia
          Issue Type: Bug
          Components: core
    Affects Versions: 4.3 M2
            Reporter: Jan Haderka
            Assignee: Jan Haderka
             Fix For: 4.3


{{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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to