[
https://issues.apache.org/jira/browse/VELOCITY-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nathan Bubna closed VELOCITY-708.
---------------------------------
> The Method map does not get created correctly when the inspected class
> implements interface which itself has a rich inheritance tree
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: VELOCITY-708
> URL: https://issues.apache.org/jira/browse/VELOCITY-708
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 1.6.1
> Environment: ALL
> Reporter: Shrivallabh Deshmukh
> Fix For: 1.6.2
>
>
> Consider the following implementation
> public interface MySuperInterface() {
> public getName()[
> }
> public interface MyInterface extends MySuperInterface() {
> }
> class MyClass implements MyInterface {
> .....
> }
> If I provide an instance of MyClass in the context, then engine is unable to
> resolve reference following reference
> $myClasref.name
> The bug is in the following method ->
> org.apache.velocity.util.introspection.ClassMap.createMethodCache().
> This method does not introspect the super interface.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]