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

Can not call "visibility" bridged methods

    XMLWordPrintable

Details

    • 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 bodist in WFLY-3456, but nothing has been done to fix it.

      Attachments

        Issue Links

          Activity

            People

              smarlow1@redhat.com Scott Marlow
              trondgzi_jira Trond G. Ziarkowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: