[jira] [Commented] (TAP5-1759) Property expressions: exception when calling static method

2013-07-25 Thread Denis Stepanov (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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


[jira] [Commented] (TAP5-1759) Property expressions: exception when calling static method

2013-07-24 Thread Howard M. Lewis Ship (JIRA)

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

Howard M. Lewis Ship commented on TAP5-1759:


Could I see a bit more to create an accurate test case?

 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