[ 
https://issues.apache.org/jira/browse/TAP5-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719422#comment-13719422
 ] 

Denis Stepanov commented on TAP5-1759:
--------------------------------------

java:

public Object getVal() { return java.math.RoundingMode.DOWN; }

tml:
  
 ${val.valueOf('test')}
                
> Property expressions: exception when calling static method
> ----------------------------------------------------------
>
>                 Key: TAP5-1759
>                 URL: https://issues.apache.org/jira/browse/TAP5-1759
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Denis Stepanov
>            Assignee: Howard M. Lewis Ship
>
> Exception when calling static method valueOf on the enum instance:
> java.lang.IncompatibleClassChangeError: Expecting non-static method 
> com.MyEnum.valueOf(Ljava/lang/String;)Lcom/MyEnum;
> Static method call used to work in 5.2, this should throw an exception on 
> page init or be a valid method call 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to