[jboss-jira] [JBoss JIRA] (WFLY-6280) Can not call "visibility" bridged methods

Trond G. Ziarkowski (JIRA) issues at jboss.org
Thu Feb 25 04:49:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trond G. Ziarkowski updated WFLY-6280:
--------------------------------------
    Steps to Reproduce: 
{noformat}
public class VisibilityBridgedMethod {
  static class Parent {
    public String methodToCall() { return "value"; }
  }

  public static class Child extends Parent {
    // methodToCall() will be bridged by compiler 
  }

  public static void main(String[] args) {
    ELProcessor processor = new ELProcessor();
    processor.defineBean("child", new Child());
    processor.eval("child.methodToCall()");
  }
}
{noformat}

  was:
{{public class VisibilityBridgedMethod {
  static class Parent {
    public String methodToCall() { return "value"; }
  }

  public static class Child extends Parent {
    // methodToCall() will be bridged by compiler 
  }

  public static void main(String[] args) {
    ELProcessor processor = new ELProcessor();
    processor.defineBean("child", new Child());
    processor.eval("child.methodToCall()");
  }
}
}}



> Can not call "visibility" bridged methods
> -----------------------------------------
>
>                 Key: WFLY-6280
>                 URL: https://issues.jboss.org/browse/WFLY-6280
>             Project: WildFly
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 9.0.2.Final, 10.0.0.Final
>            Reporter: Trond G. Ziarkowski
>            Assignee: Farah Juma
>
> After fix of WFLY-3456 all bridged methods are filtered which causes javax.el.MethodNotFoundException for "visibility" bridged methods.
> This has been commented by [~bodist] in WFLY-3456, but nothing has been done to fix it.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list