Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6545323

MXBean introspector does not detect Enum - String conflict in method signature

XMLWordPrintable

      Having an interface MyInterfaceMXBean declaring the following method:

      public void foo(Enum type);
      public void foo(String type);

      The MXBean introspector will map the enum to a String and will not detect the conflict with the other method with String parameter.

      The result is that foo(Enum) will never be called on the server side as foo(String) will be preferred.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: