Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-165

Can not call "visibility" bridged methods

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide
      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()");
        }
      }
      
      Show
      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()" ); } }

      Description

      After fix of WFLY-3456 all bridged methods are filtered which causes javax.el.MethodNotFoundException for "visibility" bridged methods.

      This has been commented by Tamas Bodis in WFLY-3456, but nothing has been done to fix it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smarlow Scott Marlow
              Reporter:
              trondgzi Trond G. Ziarkowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: