Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4145

IntrospectionSupport does not convert from primitive to Wrapper classes appropriately

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.7.0
    • None
    • Transport
    • None
    • Regression

    Description

      In the TcpTransportServer#handleSocket method, we see that the default values for certain options (among them, trace, maxInactivityDuration, soTimeout, etc) are converted to their wrapper equivalents.

      However in IntrospectionSupport#convert(Object value, Class to) the conversion is not done properly. It always throws the IllegalArgumentException.

      Found in this message trail, although can be seen in other attempts to set variables directly on the transport server.

      Possibly related to changes for AMQ-3797 ??

      Attachments

        Activity

          People

            ceposta Christian Posta
            ceposta Christian Posta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: