Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3439

stop importing Signal handling classes directly to break reliance on sun.misc heirarchy and prevent the associated compiler warnings

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
    • Fix Version/s: 0.13
    • Component/s: Broker-J
    • Labels:
      None

      Description

      The broker currently uses the sun.misc.Signal(Handler) classes directly within the ServerConfiguration class, creating both a reliance on the classes existing (they are far more prevalent than just the Sun JDK as might be expected, but their existance isn't guaranteed) and also causing unsuppressable compiler warnigns during the build.

      The use of these classes should be isolated from ServerConfiguration to allow use of the broker on JDKs which do not support them, and additionally their use should be proxied using reflection to remove the associated compiler warnings.

        Activity

        Hide
        gemmellr Robbie Gemmell added a comment -

        Hi Keith, could you review please?

        Show
        gemmellr Robbie Gemmell added a comment - Hi Keith, could you review please?
        Hide
        k-wall Keith Wall added a comment -

        Reviewed, no comments from me.

        cheers Keith.

        Show
        k-wall Keith Wall added a comment - Reviewed, no comments from me. cheers Keith.

          People

          • Assignee:
            k-wall Keith Wall
            Reporter:
            gemmellr Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development