UIMA
  1. UIMA
  2. UIMA-1190

Jmx Monitor in Uima AS not compiling when using Java 5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      When compiling Uima AS with Java 5 there are compile errors in JmxMonitor code. It seems that in Java 5 the returned object from MBeanServerInvocationHandler.newProxyInstance(..) method needs to be typecast to the expected type. This is not required for Java 6.

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Modified JmxMonitor to typecast returned objects from MBeanServerInvocationHandler.newProxyInstance() call to fix compile errors when using Java 5. Removed dead code.

        Show
        Jerry Cwiklik added a comment - Modified JmxMonitor to typecast returned objects from MBeanServerInvocationHandler.newProxyInstance() call to fix compile errors when using Java 5. Removed dead code.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development