https://bz.apache.org/bugzilla/show_bug.cgi?id=65358

Volodymyr Siedlecki <volos...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Volodymyr Siedlecki <volos...@apache.org> ---
I was looking at this again (on 9.0.50).

I think there's still a bug here? Using the code below: 

Bean bean  = new Bean();

// JVM 
bean.bark(bean.getDog()); // -> bark(Animal animal)

// EL
${ bean.bark(bean.dog) } // - > bark(Dog dog, String... text)

_______

public interface Animal {

}

public class Dog implements Animal {

}

public class Bean {

    public String bark(Animal animal){
        return "bark(Animal animal)";
    }

    public String bark(Dog dog, String... text){
        return "bark(Dog dog, String... text)";
    }

    public Animal getDog(){
        System.out.println("Returning Dog of type Animal");
        return new Dog();
    }

}

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to