[ http://issues.apache.org/jira/browse/BEEHIVE-512?page=all ] Alejandro Ramirez closed BEEHIVE-512: -------------------------------------
Closing as Won't Fix. See Rich's explanation. > Action Methods that return a non-declared forward in @Jpf.Action should throw > a compiler warning > ------------------------------------------------------------------------------------------------ > > Key: BEEHIVE-512 > URL: http://issues.apache.org/jira/browse/BEEHIVE-512 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1 > Reporter: Alejandro Ramirez > Assignee: Alejandro Ramirez > Priority: Minor > Fix For: V1 > Attachments: Test2.zip > > 1.- Compile the attached pageflow (e.g. unzip the attached pageflow into a > beehive enabled webapp and then compile your webapp). > Expected: There should be a compiler warning message about the following > action method returning a non declared forward ("noMatch"): > @Jpf.Action( > forwards = { > @Jpf.Forward(name = "pg1", path = "Pg1.jsp") > }) > protected Forward page1() { > return new Forward("noMatch"); > } > } > Actual: NO compiler warning is thrown. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira