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 Improvement
    • Status: Resolved
    • Priority: Major 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: Java Broker
    • 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
        Robbie Gemmell added a comment -

        Hi Keith, could you review please?

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

        Reviewed, no comments from me.

        cheers Keith.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development