diff --git a/mq/main/bridge/bridge-jms/src/main/java/com/sun/messaging/bridge/service/jms/tx/log/TransactionReaper.java b/mq/main/bridge/bridge-jms/src/main/java/com/sun/messaging/bridge/service/jms/tx/log/TransactionReaper.java index 4dcedecfd..95493b480 100644 --- a/mq/main/bridge/bridge-jms/src/main/java/com/sun/messaging/bridge/service/jms/tx/log/TransactionReaper.java +++ b/mq/main/bridge/bridge-jms/src/main/java/com/sun/messaging/bridge/service/jms/tx/log/TransactionReaper.java @@ -23,6 +23,7 @@ import com.sun.messaging.jmq.util.timer.TimerEventHandler; import com.sun.messaging.bridge.service.jms.tx.GlobalXid; +@SuppressWarnings("JdkObsolete") class TransactionReaper implements TimerEventHandler { private TxLog _txlog = null; private Logger _logger = null; diff --git a/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/GPacket.java b/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/GPacket.java index 2c0d3bf86..c160a896a 100644 --- a/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/GPacket.java +++ b/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/GPacket.java @@ -26,6 +26,7 @@ * A Generic binary packet format. This class encapsulates a simple binary packet format. The packet is made up of a * fixed header, a marshalled properties section, and an opaque payload. */ +@SuppressWarnings("JdkObsolete") public class GPacket { /* The 32 bit flags */ diff --git a/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/PacketProperties.java b/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/PacketProperties.java index d9ac05f09..3dc1e4126 100644 --- a/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/PacketProperties.java +++ b/mq/main/comm-io/src/main/java/com/sun/messaging/jmq/io/PacketProperties.java @@ -40,6 +40,7 @@ * Pad out to 32 bit boundry * */ +@SuppressWarnings("JdkObsolete") public class PacketProperties { public static final short BOOLEAN = 1; public static final short BYTE = 2; diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DebugPrinter.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DebugPrinter.java index 1641c8c5d..d70ec233b 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DebugPrinter.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DebugPrinter.java @@ -30,6 +30,7 @@ * * Output is sent to stdout but can also be redirected to a file. */ +@SuppressWarnings("JdkObsolete") public class DebugPrinter extends MultiColumnPrinter { private static final long serialVersionUID = 3312334387486018119L; private Hashtable hashtable = null; diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DiagManager.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DiagManager.java index e25884044..b0d249052 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DiagManager.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/DiagManager.java @@ -45,6 +45,7 @@ * Once data classes are registered, DiagManager.allToString() can be called to generate a formatted string representing * data in all registered classes. */ +@SuppressWarnings("JdkObsolete") public class DiagManager { // Data types diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/MultiColumnPrinter.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/MultiColumnPrinter.java index 6407c1492..2107d7769 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/MultiColumnPrinter.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/MultiColumnPrinter.java @@ -128,6 +128,7 @@ * * */ +@SuppressWarnings("JdkObsolete") public abstract class MultiColumnPrinter implements Serializable { private static final long serialVersionUID = -8013528725857861640L; diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/SupportUtil.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/SupportUtil.java index 8fbe7adf3..68ecd4818 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/SupportUtil.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/SupportUtil.java @@ -24,6 +24,7 @@ import java.util.Map; import java.util.Iterator; +@SuppressWarnings("JdkObsolete") public class SupportUtil { public static Hashtable getAllStackTracesAsMap() { diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/lists/FifoSet.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/lists/FifoSet.java index acbcde574..7d76a88f9 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/lists/FifoSet.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/lists/FifoSet.java @@ -24,6 +24,7 @@ * This is a First In-First Out set which implements the SortedSet interface. * @since 1.22 */ +@SuppressWarnings("JdkObsolete") public class FifoSet extends AbstractSet implements SortedSet { // linked list entries for the list diff --git a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/selector/Selector.java b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/selector/Selector.java index b08713065..389df16c0 100644 --- a/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/selector/Selector.java +++ b/mq/main/comm-util/src/main/java/com/sun/messaging/jmq/util/selector/Selector.java @@ -26,6 +26,7 @@ * A class that implements JMS selectors. See section 3.8 of the JMS 1.1 spec. * */ +@SuppressWarnings("JdkObsolete") public class Selector { private static boolean DEBUG = false; diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/HttpTunnelConnection.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/HttpTunnelConnection.java index 60d9bfaa2..033fb47e1 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/HttpTunnelConnection.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/HttpTunnelConnection.java @@ -28,6 +28,7 @@ *

* It also provides methods to read bytes from and write bytes to the connection stream. */ +@SuppressWarnings("JdkObsolete") public class HttpTunnelConnection implements HttpTunnelDefaults { private HttpTunnelDriver wire; private int connId; diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelClientDriver.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelClientDriver.java index 7c8bff722..e630dfb3a 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelClientDriver.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelClientDriver.java @@ -40,6 +40,7 @@ * This class provides unreliable packet delivery mechanism on the client side. It also uses a dedicated thread to * continuously send HTTP pull requests to fetch packets sent by the server. */ +@SuppressWarnings("JdkObsolete") public class HttpTunnelClientDriver extends Thread implements HttpTunnelDefaults, HttpTunnelDriver { private static boolean DEBUG = Boolean.getBoolean("httptunnel.debug"); private boolean stopThread = false; diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelPush.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelPush.java index c98df7489..d121369be 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelPush.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/client/HttpTunnelPush.java @@ -35,6 +35,7 @@ * time consuming task. A dedicated push thread ensures that the threads generating outbound packets don't waste their * cycles in HTTP I/O. */ +@SuppressWarnings("JdkObsolete") public class HttpTunnelPush extends Thread implements HttpTunnelDefaults { private URL pushUrl = null; private Vector q = null; diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/server/HttpTunnelServerDriverImpl.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/server/HttpTunnelServerDriverImpl.java index 96a24f0a3..b10fec886 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/server/HttpTunnelServerDriverImpl.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/server/HttpTunnelServerDriverImpl.java @@ -47,6 +47,7 @@ * This class provides unreliable packet delivery mechanism on the server side. It also uses a dedicated thread to * continuously read incoming packets from the servlet over the TCP connection. */ +@SuppressWarnings("JdkObsolete") public class HttpTunnelServerDriverImpl extends Link implements HttpTunnelDefaults, HttpTunnelDriver, HttpTunnelServerDriver { private static boolean DEBUG = Boolean.getBoolean("httptunnel.debug"); diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/Connection.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/Connection.java index a0cdabddf..4d3bd94ae 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/Connection.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/Connection.java @@ -21,6 +21,7 @@ import java.util.Vector; +@SuppressWarnings("JdkObsolete") class Connection { private Vector pullQ = new Vector(); private int pullPeriod = -1; diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/HttpUtils.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/HttpUtils.java index fdbac1031..fe56a9545 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/HttpUtils.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/HttpUtils.java @@ -23,6 +23,7 @@ import java.util.Hashtable; import java.util.StringTokenizer; +@SuppressWarnings("JdkObsolete") class HttpUtils { private HttpUtils() { } diff --git a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/ServerLinkTable.java b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/ServerLinkTable.java index 0788c1ef3..c45a66f90 100644 --- a/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/ServerLinkTable.java +++ b/mq/main/http-tunnel/tunnel/src/main/java/com/sun/messaging/jmq/httptunnel/tunnel/servlet/ServerLinkTable.java @@ -32,6 +32,7 @@ import jakarta.servlet.ServletConfig; import jakarta.servlet.ServletContext; +@SuppressWarnings("JdkObsolete") public class ServerLinkTable implements HttpTunnelDefaults { private static final int RUNNING = 0; private static final int SHUTTINGDOWN = 1; diff --git a/mq/main/logger/src/main/java/com/sun/messaging/jmq/util/log/Logger.java b/mq/main/logger/src/main/java/com/sun/messaging/jmq/util/log/Logger.java index e4bdcb556..8582ac10d 100644 --- a/mq/main/logger/src/main/java/com/sun/messaging/jmq/util/log/Logger.java +++ b/mq/main/logger/src/main/java/com/sun/messaging/jmq/util/log/Logger.java @@ -61,6 +61,7 @@ * the deferred messages are logged. */ +@SuppressWarnings("JdkObsolete") public class Logger implements LoggerWrapper { // Resource bundle to look up logged messages diff --git a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminConn.java b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminConn.java index 5a5e8e61a..6fb64bcf5 100644 --- a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminConn.java +++ b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminConn.java @@ -55,6 +55,7 @@ *

  • timeout (for receiving replies) * */ +@SuppressWarnings("JdkObsolete") public abstract class BrokerAdminConn implements ExceptionListener { public static final String DEFAULT_ADMIN_USERNAME = "admin"; diff --git a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminManager.java b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminManager.java index 23ef891ab..d87b106fc 100644 --- a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminManager.java +++ b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/bkrutil/BrokerAdminManager.java @@ -18,6 +18,7 @@ import java.util.Hashtable; +@SuppressWarnings("JdkObsolete") public class BrokerAdminManager { /** diff --git a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/jmsspi/JMSAdminImpl.java b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/jmsspi/JMSAdminImpl.java index fae892345..bbad87e5f 100644 --- a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/jmsspi/JMSAdminImpl.java +++ b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/jmsspi/JMSAdminImpl.java @@ -71,6 +71,7 @@ import com.sun.messaging.jmq.util.admin.DestinationInfo; import com.sun.messaging.jmq.util.admin.MessageType; +@SuppressWarnings("JdkObsolete") public class JMSAdminImpl implements JMSAdmin, ExceptionListener { private static AdminResources ar = Globals.getAdminResources(); diff --git a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreAttrs.java b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreAttrs.java index 17879a0f8..de1d303b5 100644 --- a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreAttrs.java +++ b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreAttrs.java @@ -26,6 +26,7 @@ * * For the ObjStore using JNDI, this object will be directly passed on to create the initialContext. */ +@SuppressWarnings("JdkObsolete") public class ObjStoreAttrs extends Hashtable { // Debug messages on / off. diff --git a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreManager.java b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreManager.java index 2dab039b2..846f5a02a 100644 --- a/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreManager.java +++ b/mq/main/mq-admin/admin-cli/src/main/java/com/sun/messaging/jmq/admin/objstore/ObjStoreManager.java @@ -27,6 +27,7 @@ * This class should be implemented as a singleton, so that we can guarantee that we do not manage the same ObjStore * twice within the same application. */ +@SuppressWarnings("JdkObsolete") public class ObjStoreManager { // Debug messages on / off. diff --git a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/AInspector.java b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/AInspector.java index ea02df4f7..021fe25ad 100644 --- a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/AInspector.java +++ b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/AInspector.java @@ -51,6 +51,7 @@ * This is implemented by having a main panel stacking all the different InspectorPanels in CardLayout. Each console * object that can be inspected will contain information specifying which inspector panel to use to inspect it. */ +@SuppressWarnings("JdkObsolete") public class AInspector extends JScrollPane { private static final long serialVersionUID = 2753311786926025370L; diff --git a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ActionManager.java b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ActionManager.java index 085466b09..a129fd319 100644 --- a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ActionManager.java +++ b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ActionManager.java @@ -35,6 +35,7 @@ * trigerred from multiple controls e.g. from the toolbar or from a menu. It helps to centralize control of the task in * an action so that things like enabling/disabling is made easy. */ +@SuppressWarnings("JdkObsolete") public class ActionManager { /* * Bit flags to identify a particular action. Bit flags are needed because in some cases we need to specify more than diff --git a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ConsoleBrokerAdminManager.java b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ConsoleBrokerAdminManager.java index f24a32af2..217ad76af 100644 --- a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ConsoleBrokerAdminManager.java +++ b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ConsoleBrokerAdminManager.java @@ -22,6 +22,7 @@ import com.sun.messaging.jmq.admin.bkrutil.BrokerAdmin; import com.sun.messaging.jmq.admin.bkrutil.BrokerAdminException; +@SuppressWarnings("JdkObsolete") public class ConsoleBrokerAdminManager { private String fileName = "brokerlist.properties"; diff --git a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ObjStoreConFactoryDialog.java b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ObjStoreConFactoryDialog.java index 8499b957b..2014225d7 100644 --- a/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ObjStoreConFactoryDialog.java +++ b/mq/main/mq-admin/admin-gui/src/main/java/com/sun/messaging/jmq/admin/apps/console/ObjStoreConFactoryDialog.java @@ -49,6 +49,7 @@ * (update) an existing object store. * */ +@SuppressWarnings("JdkObsolete") public class ObjStoreConFactoryDialog extends AdminDialog { private static final long serialVersionUID = 517513555795379528L; diff --git a/mq/main/mq-broker/broker-comm/src/main/java/com/sun/messaging/jmq/jmsserver/config/WatchedProperty.java b/mq/main/mq-broker/broker-comm/src/main/java/com/sun/messaging/jmq/jmsserver/config/WatchedProperty.java index 6c743dedd..7f909faa6 100644 --- a/mq/main/mq-broker/broker-comm/src/main/java/com/sun/messaging/jmq/jmsserver/config/WatchedProperty.java +++ b/mq/main/mq-broker/broker-comm/src/main/java/com/sun/messaging/jmq/jmsserver/config/WatchedProperty.java @@ -25,6 +25,7 @@ * * This class maintains both the value and the set of listeners */ +@SuppressWarnings("JdkObsolete") class WatchedProperty { /** * value of the property diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/JMSSelector.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/JMSSelector.java index 9f55f2512..e0c394fa1 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/JMSSelector.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/JMSSelector.java @@ -28,6 +28,7 @@ * * Uses SQL parser in SQLParser.jj */ +@SuppressWarnings("JdkObsolete") public class JMSSelector implements java.io.Serializable { private static final long serialVersionUID = 987679311016714425L; transient SQLParser parser; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/SQLParser.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/SQLParser.java index 88a871f36..1a3132161 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/SQLParser.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsselector/SQLParser.java @@ -28,6 +28,7 @@ *

    * SQL grammar contributed by kevinh@empower.com.au to the JAVACC web site */ +@SuppressWarnings("JdkObsolete") public class SQLParser implements SQLParserConstants { private static final Logger logger = System.getLogger(SQLParser.class.getName()); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/Broker.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/Broker.java index 3482761d1..a95f8fa6f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/Broker.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/Broker.java @@ -70,6 +70,7 @@ * Currently the broker supports a single protocol running on a single port, however this class could be changed to * allow additional protocols/ports at a later time */ +@SuppressWarnings("JdkObsolete") public class Broker implements GlobalErrorHandler, CommBroker { public static final String CLUSTER_BROADCASTER_SERVICE_NAME = "com.sun.messaging.jmq.jmsserver.multibroker.ClusterBroadcaster"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/MQAuthenticator.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/MQAuthenticator.java index e3a3d3a78..83b39979a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/MQAuthenticator.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/MQAuthenticator.java @@ -35,6 +35,7 @@ * for 1 connection */ +@SuppressWarnings("JdkObsolete") public class MQAuthenticator { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/acl/JMQFileAccessControlModel.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/acl/JMQFileAccessControlModel.java index d1edaa47f..ebc6fc3dc 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/acl/JMQFileAccessControlModel.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/acl/JMQFileAccessControlModel.java @@ -43,6 +43,7 @@ import com.sun.messaging.jmq.jmsserver.resources.BrokerResources; import com.sun.messaging.jmq.auth.api.server.model.*; +@SuppressWarnings("JdkObsolete") public class JMQFileAccessControlModel implements AccessControlModel { public static final String VERSION = "JMQFileAccessControlModel/100"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/ldap/LdapUserRepository.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/ldap/LdapUserRepository.java index b56a52a39..b3a69bccc 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/ldap/LdapUserRepository.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/ldap/LdapUserRepository.java @@ -43,6 +43,7 @@ import com.sun.messaging.jmq.auth.api.server.model.*; import com.sun.messaging.jmq.util.Password; +@SuppressWarnings("JdkObsolete") public class LdapUserRepository implements UserRepository { public static final String TYPE = "ldap"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/CmdRunner.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/CmdRunner.java index cc2fdde5a..47086a47f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/CmdRunner.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/CmdRunner.java @@ -35,6 +35,7 @@ * @see ObjMgr * */ +@SuppressWarnings("JdkObsolete") public class CmdRunner implements UserMgrOptions { private static BrokerResources br = Globals.getBrokerResources(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/PasswdDB.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/PasswdDB.java index d3d1e2c31..18f9bf64f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/PasswdDB.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/auth/usermgr/PasswdDB.java @@ -73,6 +73,7 @@ * */ +@SuppressWarnings("JdkObsolete") public class PasswdDB { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/ClusterBroadcast.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/ClusterBroadcast.java index 2301bd030..1b2c4e076 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/ClusterBroadcast.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/ClusterBroadcast.java @@ -35,6 +35,7 @@ */ @Contract @Singleton +@SuppressWarnings("JdkObsolete") public interface ClusterBroadcast { /** MessageBus protocol version */ diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/NoCluster.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/NoCluster.java index 592f44013..bc1a5c35e 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/NoCluster.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/NoCluster.java @@ -28,6 +28,7 @@ /** * Simple message bus implementation which can be used in non-clustered environments. */ +@SuppressWarnings("JdkObsolete") public class NoCluster implements ClusterBroadcast { private static final Object noOwner = new Object(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/RemoteTransactionAckEntry.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/RemoteTransactionAckEntry.java index eba4c0516..129bd4e7a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/RemoteTransactionAckEntry.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/api/RemoteTransactionAckEntry.java @@ -20,6 +20,7 @@ import java.util.Vector; import com.sun.messaging.jmq.jmsserver.data.TransactionAcknowledgement; +@SuppressWarnings("JdkObsolete") public class RemoteTransactionAckEntry { TransactionAcknowledgement[] acks = null; boolean processed = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/AuthHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/AuthHandler.java index cdc7b9d27..832ce790b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/AuthHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/AuthHandler.java @@ -40,6 +40,7 @@ /** * Handler class which deals with handling authentication messages */ +@SuppressWarnings("JdkObsolete") public class AuthHandler extends PacketHandler { // private ConnectionManager connectionList; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/ClientIDHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/ClientIDHandler.java index e50d517e9..e4028443c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/ClientIDHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/ClientIDHandler.java @@ -34,6 +34,7 @@ /** * Handler class which deals with adding and removing interests from the RouteTable */ +@SuppressWarnings("JdkObsolete") public class ClientIDHandler extends PacketHandler { private Logger logger = Globals.getLogger(); private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/DestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/DestinationHandler.java index 6f2dc2c75..dc5661339 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/DestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/DestinationHandler.java @@ -38,6 +38,7 @@ /** * Handler class which deals with adding and removing destination from the broker */ +@SuppressWarnings("JdkObsolete") public class DestinationHandler extends PacketHandler { private Logger logger = Globals.getLogger(); private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowHandler.java index f242c0371..81b032d33 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowHandler.java @@ -30,6 +30,7 @@ /** * handles receiving Flow packet */ +@SuppressWarnings("JdkObsolete") public class FlowHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowPausedHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowPausedHandler.java index d6540a545..8fbe98295 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowPausedHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/FlowPausedHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.jmsserver.util.BrokerException; import java.util.*; +@SuppressWarnings("JdkObsolete") public class FlowPausedHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GenerateUIDHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GenerateUIDHandler.java index 0c4c15618..3a0426f8d 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GenerateUIDHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GenerateUIDHandler.java @@ -36,6 +36,7 @@ /** * Handler class which deals with the GenerateUID packet. */ +@SuppressWarnings("JdkObsolete") public class GenerateUIDHandler extends PacketHandler { private Logger logger = Globals.getLogger(); private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GetLicenseHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GetLicenseHandler.java index 30fe70214..6d7415fde 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GetLicenseHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GetLicenseHandler.java @@ -29,6 +29,7 @@ * Handler class which deals with the GET_LICENSE message GET_LICENSE requests licensing information so the client can * restrict licensed features. */ +@SuppressWarnings("JdkObsolete") public class GetLicenseHandler extends PacketHandler { // private ConnectionManager connectionList; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeHandler.java index ccea5d941..452e7dfc5 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeHandler.java @@ -34,6 +34,7 @@ /** * Handler class which deals with a "goodbye" message which is sent when a client quits talking to the broker */ +@SuppressWarnings("JdkObsolete") public class GoodbyeHandler extends PacketHandler { private static long timeout = Globals.getConfig().getLongProperty(Globals.IMQ + ".goodbye.timeout", 0); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeTask.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeTask.java index 079bd8d0f..fc03babcb 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeTask.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/GoodbyeTask.java @@ -24,6 +24,7 @@ import java.util.*; +@SuppressWarnings("JdkObsolete") final class GoodbyeTask extends TimerTask { static Logger logger = Globals.getLogger(); static GoodbyeTask runner = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/HelloHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/HelloHandler.java index 12e6cb441..247ce2b77 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/HelloHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/HelloHandler.java @@ -47,6 +47,7 @@ * determining a connection (e.g. tcp does not need the HELLO message to set up a connection, since each socket * corresponds to a new connection) */ +@SuppressWarnings("JdkObsolete") public class HelloHandler extends PacketHandler { private ConnectionManager connectionList; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/InfoRequestHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/InfoRequestHandler.java index f5c6da584..624eb8fdd 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/InfoRequestHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/InfoRequestHandler.java @@ -32,6 +32,7 @@ /** * Handler class which deals with the INFO_REQUEST message sent by a client after failover. */ +@SuppressWarnings("JdkObsolete") public class InfoRequestHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/PingHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/PingHandler.java index d6cafa1e1..51675ce54 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/PingHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/PingHandler.java @@ -25,6 +25,7 @@ import com.sun.messaging.jmq.jmsserver.util.BrokerException; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class PingHandler extends PacketHandler { private Logger logger = Globals.getLogger(); // private BrokerResources rb = Globals.getBrokerResources(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/SessionHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/SessionHandler.java index 19fd7441d..913d72f08 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/SessionHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/SessionHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.core.Session; import com.sun.messaging.jmq.jmsserver.core.SessionUID; +@SuppressWarnings("JdkObsolete") public class SessionHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/StartStopHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/StartStopHandler.java index 377a1c41a..256484eb8 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/StartStopHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/StartStopHandler.java @@ -31,6 +31,7 @@ /** * Handler class which deals with starting/stoping the delivery of messages to a specific connection */ +@SuppressWarnings("JdkObsolete") public class StartStopHandler extends PacketHandler { Hashtable hash = new Hashtable(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/VerifyDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/VerifyDestinationHandler.java index 44b0a9f7f..8ddeba4c9 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/VerifyDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/common/handlers/VerifyDestinationHandler.java @@ -42,6 +42,7 @@ /** * Handler class which deals with starting/stoping the delivery of messages to a specific connection */ +@SuppressWarnings("JdkObsolete") public class VerifyDestinationHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/BrokerMetricsMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/BrokerMetricsMonitor.java index 89015bd0b..282257f32 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/BrokerMetricsMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/BrokerMetricsMonitor.java @@ -22,6 +22,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import java.util.*; +@SuppressWarnings("JdkObsolete") class BrokerMetricsMonitor extends Monitor { BrokerMetricsMonitor(Destination d) { diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Consumer.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Consumer.java index 46f1d1674..c920af48b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Consumer.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Consumer.java @@ -51,6 +51,7 @@ import com.sun.messaging.jmq.jmsserver.cluster.api.ClusterBroadcast; import com.sun.messaging.jmq.jmsserver.plugin.spi.ConsumerSpi; +@SuppressWarnings("JdkObsolete") public class Consumer implements ConsumerSpi, EventBroadcaster, Serializable { transient Logger logger = Globals.getLogger(); static final long serialVersionUID = 3353669107150988952L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/CoreLifecycleImpl.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/CoreLifecycleImpl.java index 4cbe41362..0eb780341 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/CoreLifecycleImpl.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/CoreLifecycleImpl.java @@ -58,6 +58,7 @@ import com.sun.messaging.jmq.jmsserver.plugin.spi.DestinationSpi; import com.sun.messaging.jmq.jmsserver.plugin.spi.CoreLifecycleSpi; +@SuppressWarnings("JdkObsolete") public class CoreLifecycleImpl extends CoreLifecycleSpi { private DestinationList destinationList = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestListMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestListMonitor.java index ddccf5cbc..1bde784a5 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestListMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestListMonitor.java @@ -20,6 +20,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import java.util.*; +@SuppressWarnings("JdkObsolete") class DestListMonitor extends Monitor { DestListMonitor(Destination d) { super(d); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestMonitor.java index 587d40bc7..e93c8c94f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestMonitor.java @@ -19,6 +19,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import java.util.*; +@SuppressWarnings("JdkObsolete") class DestMonitor extends Monitor { DestinationUID target = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Destination.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Destination.java index 48096d8a7..cd6ba0876 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Destination.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Destination.java @@ -68,6 +68,7 @@ /** * This class represents a destination (topic or queue name) */ +@SuppressWarnings("JdkObsolete") public abstract class Destination implements DestinationSpi, Serializable, com.sun.messaging.jmq.util.lists.EventListener { static final long serialVersionUID = 4399175316523022128L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestinationList.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestinationList.java index 28b88a4c1..7f50d6040 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestinationList.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/DestinationList.java @@ -77,6 +77,7 @@ import java.util.*; import java.io.*; +@SuppressWarnings("JdkObsolete") public final class DestinationList implements ConnToPartitionStrategyContext { static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/JVMMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/JVMMonitor.java index 5994e9432..8db892da7 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/JVMMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/JVMMonitor.java @@ -21,6 +21,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import java.util.*; +@SuppressWarnings("JdkObsolete") class JVMMonitor extends Monitor { JVMMonitor(Destination d) { super(d); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Monitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Monitor.java index 136d5384a..49f84df3e 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Monitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Monitor.java @@ -25,6 +25,7 @@ import java.io.*; import java.net.*; +@SuppressWarnings("JdkObsolete") abstract class Monitor { Destination d = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/PacketReference.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/PacketReference.java index 1c8b1f16f..47c701cb8 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/PacketReference.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/PacketReference.java @@ -51,6 +51,7 @@ * */ +@SuppressWarnings("JdkObsolete") public class PacketReference implements Sized, Ordered { private static FaultInjection FI = FaultInjection.getInjection(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Queue.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Queue.java index 3035e46b2..5f60f9c31 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Queue.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Queue.java @@ -38,6 +38,7 @@ /** * This class represents a queue destination */ +@SuppressWarnings("JdkObsolete") public class Queue extends Destination { static final long serialVersionUID = 3396316998214097558L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Session.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Session.java index 54fb61fa7..2e05f0857 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Session.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Session.java @@ -44,6 +44,7 @@ import com.sun.messaging.jmq.jmsserver.plugin.spi.SessionOpSpi; import com.sun.messaging.jmq.jmsserver.plugin.spi.ConsumerSpi; +@SuppressWarnings("JdkObsolete") public class Session implements EventBroadcaster, EventListener { static boolean DEBUG = false; protected static final boolean DEBUG_CLUSTER_MSG = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".cluster.debug.msg") || DEBUG; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/SessionOp.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/SessionOp.java index 2321b2d45..6d8187990 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/SessionOp.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/SessionOp.java @@ -48,6 +48,7 @@ import com.sun.messaging.jmq.util.log.*; import com.sun.messaging.jmq.util.JMQXid; +@SuppressWarnings("JdkObsolete") public class SessionOp extends SessionOpSpi { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Subscription.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Subscription.java index 78379d08d..07dbf6751 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Subscription.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Subscription.java @@ -46,6 +46,7 @@ * A subscription represents a "durable subscriber (shared or un-shared)" or a "shared non-durable consumer" */ +@SuppressWarnings("JdkObsolete") public class Subscription extends Consumer implements SubscriptionSpi { static final long serialVersionUID = -6794838710921895217L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Topic.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Topic.java index f11594a42..7e3538ca6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Topic.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/core/Topic.java @@ -32,6 +32,7 @@ /** * This class represents a topic destination */ +@SuppressWarnings("JdkObsolete") public class Topic extends Destination { static final long serialVersionUID = -5748515630523651753L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DefaultHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DefaultHandler.java index 5adb42b92..df61dc714 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DefaultHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DefaultHandler.java @@ -28,6 +28,7 @@ /** * Handler class which deals with handling unexpected messages */ +@SuppressWarnings("JdkObsolete") public class DefaultHandler extends ErrHandler { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DetachedTransactionReaper.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DetachedTransactionReaper.java index 9153ca3aa..be0d3c983 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DetachedTransactionReaper.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/DetachedTransactionReaper.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.util.timer.MQTimer; +@SuppressWarnings("JdkObsolete") class DetachedTransactionReaper { static final int DEFAULT_TIMEOUT = 0; // no timeout List txns = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/PacketHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/PacketHandler.java index 88fe10c45..b7b2a48ed 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/PacketHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/PacketHandler.java @@ -41,7 +41,8 @@ * super classes which deal with handling specific message types */ @SuppressWarnings({ - "deprecation", "removal" // java.security.AccessControlException in java.security has been deprecated and marked for removal + "deprecation", "removal", // java.security.AccessControlException in java.security has been deprecated and marked for removal + "JdkObsolete" }) public abstract class PacketHandler { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/RemoteTransactionInformation.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/RemoteTransactionInformation.java index 1998e8cc2..cf37aa716 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/RemoteTransactionInformation.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/RemoteTransactionInformation.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.jmsserver.core.BrokerAddress; import com.sun.messaging.jmq.jmsserver.persist.api.TransactionInfo; +@SuppressWarnings("JdkObsolete") class RemoteTransactionInformation extends TransactionInformation { RemoteTransactionAckEntry txnAckEntry = null; ArrayList recoveryTxnAckEntrys = new ArrayList(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionInformation.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionInformation.java index 22858e6f3..2db562f09 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionInformation.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionInformation.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.jmsserver.util.TransactionAckExistException; import com.sun.messaging.jmq.util.UID; +@SuppressWarnings("JdkObsolete") class TransactionInformation { int type = TransactionInfo.TXN_NOFLAG; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionList.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionList.java index 9396783b6..7d4c6194f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionList.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionList.java @@ -60,6 +60,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.jmsserver.FaultInjection; +@SuppressWarnings("JdkObsolete") public class TransactionList implements ClusterListener, PartitionListener { protected static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionReaper.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionReaper.java index 8ce1d3fde..58312bc0c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionReaper.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionReaper.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.jmsserver.BrokerStateHandler; import com.sun.messaging.jmq.jmsservice.BrokerEvent; +@SuppressWarnings("JdkObsolete") class TransactionReaper implements TimerEventHandler { TransactionList translist = null; Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionState.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionState.java index 3cb081e20..4937ef929 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionState.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/TransactionState.java @@ -38,6 +38,7 @@ /** * The state of a transaction, plus additional information that may useful to know about the transaction. */ +@SuppressWarnings("JdkObsolete") public class TransactionState implements Externalizable { static final long serialVersionUID = 8746365555417644726L; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/AckHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/AckHandler.java index 7b7d9c6ea..879f24c76 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/AckHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/AckHandler.java @@ -50,6 +50,7 @@ /** * Handler class which deals with recording message acknowldegements */ +@SuppressWarnings("JdkObsolete") public class AckHandler extends PacketHandler { // An Ack block is a Long ConsumerUID and a SysMessageID static final int ACK_BLOCK_SIZE = 8 + SysMessageID.ID_SIZE; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ConsumerHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ConsumerHandler.java index 7576ecf10..33ae499b1 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ConsumerHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ConsumerHandler.java @@ -46,6 +46,7 @@ /** * Handler class which deals with adding and removing interests from the RouteTable */ +@SuppressWarnings("JdkObsolete") public class ConsumerHandler extends PacketHandler { private Logger logger = Globals.getLogger(); private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DataHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DataHandler.java index f6c2e0f4e..001cb00f8 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DataHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DataHandler.java @@ -41,6 +41,7 @@ /** * Handler class which deals with normal (topic or queue) JMS messages */ +@SuppressWarnings("JdkObsolete") public class DataHandler extends PacketHandler { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DeliverHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DeliverHandler.java index 16c7cb511..9a9f7c3a6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DeliverHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DeliverHandler.java @@ -34,6 +34,7 @@ /** * Handler class which deals with requests delivering messages */ +@SuppressWarnings("JdkObsolete") public class DeliverHandler extends PacketHandler { // An Ack block is a 4 byte interest ID and a SysMessageID static final int DELIVER_BLOCK_SIZE = SysMessageID.ID_SIZE; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DestinationHandler.java index f90964e5a..078b3a4c3 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/DestinationHandler.java @@ -35,6 +35,7 @@ /** * Handler class which deals with adding and removing destination from the broker */ +@SuppressWarnings("JdkObsolete") public class DestinationHandler extends PacketHandler { private Logger logger = Globals.getLogger(); private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ProducerHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ProducerHandler.java index e22cfc122..22ad17564 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ProducerHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/ProducerHandler.java @@ -39,6 +39,7 @@ /** * Handles the create Message */ +@SuppressWarnings("JdkObsolete") public class ProducerHandler extends PacketHandler { private DestinationList DL = Globals.getDestinationList(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/QBrowseHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/QBrowseHandler.java index 36215f942..c46f3ce79 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/QBrowseHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/QBrowseHandler.java @@ -43,6 +43,7 @@ /** * Handler class which deals with requests for the current queue state */ +@SuppressWarnings("JdkObsolete") public class QBrowseHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/RedeliverHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/RedeliverHandler.java index 22e5021ba..948eac945 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/RedeliverHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/RedeliverHandler.java @@ -39,6 +39,7 @@ /** * Handler class which deals with requests delivering messages */ +@SuppressWarnings("JdkObsolete") public class RedeliverHandler extends PacketHandler { private static boolean DEBUG_CLUSTER_TXN = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".cluster.debug.txn"); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/TransactionHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/TransactionHandler.java index 9d0f07e1d..ae35af454 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/TransactionHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/TransactionHandler.java @@ -94,6 +94,7 @@ /** * Handler class for transaction packets. */ +@SuppressWarnings("JdkObsolete") public class TransactionHandler extends PacketHandler { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/VerifyTransactionHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/VerifyTransactionHandler.java index 893ff2b81..df6c3e63b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/VerifyTransactionHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/VerifyTransactionHandler.java @@ -33,6 +33,7 @@ /** * Handler class which deals with starting/stoping the delivery of messages to a specific connection */ +@SuppressWarnings("JdkObsolete") public class VerifyTransactionHandler extends PacketHandler { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminCmdHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminCmdHandler.java index 638f6548d..ae7dc6d9b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminCmdHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminCmdHandler.java @@ -35,6 +35,7 @@ import com.sun.messaging.jmq.util.io.FilteringObjectInputStream; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class AdminCmdHandler { AdminDataHandler parent = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminDataHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminDataHandler.java index a0ec034f6..5d12b6996 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminDataHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/AdminDataHandler.java @@ -44,6 +44,7 @@ * If it is we intercept it and process it via the AdminCmdHandlers. If it is not then we pass it to the DataHandler for * standard handling. */ +@SuppressWarnings("JdkObsolete") public class AdminDataHandler extends DataHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ChangeClusterMasterBrokerHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ChangeClusterMasterBrokerHandler.java index 17b1ee4b3..91f3b78eb 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ChangeClusterMasterBrokerHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ChangeClusterMasterBrokerHandler.java @@ -33,6 +33,7 @@ import com.sun.messaging.jmq.jmsserver.cluster.api.ClusterManager; import com.sun.messaging.jmq.jmsserver.core.BrokerMQAddress; +@SuppressWarnings("JdkObsolete") public class ChangeClusterMasterBrokerHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CheckpointBrokerHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CheckpointBrokerHandler.java index 89acdc589..adf038512 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CheckpointBrokerHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CheckpointBrokerHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class CheckpointBrokerHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CompactDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CompactDestinationHandler.java index a49a32d3b..d09719185 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CompactDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CompactDestinationHandler.java @@ -31,6 +31,7 @@ import com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection; import com.sun.messaging.jmq.jmsserver.core.Destination; +@SuppressWarnings("JdkObsolete") public class CompactDestinationHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CreateDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CreateDestinationHandler.java index 40629f2b9..1c192611c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CreateDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/CreateDestinationHandler.java @@ -33,6 +33,7 @@ import com.sun.messaging.jmq.jmsserver.memory.MemoryGlobals; import com.sun.messaging.jmq.jmsserver.audit.api.MQAuditSession; +@SuppressWarnings("JdkObsolete") public class CreateDestinationHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DebugHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DebugHandler.java index f5637d7b6..abc209548 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DebugHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DebugHandler.java @@ -54,6 +54,7 @@ /** * Admin handler for DEBUG message. */ +@SuppressWarnings("JdkObsolete") public class DebugHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DeleteMessageHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DeleteMessageHandler.java index 58ae4b92f..ae64a9ed6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DeleteMessageHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DeleteMessageHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.util.lists.RemoveReason; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") public class DeleteMessageHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyConnectionsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyConnectionsHandler.java index 67d3118d3..e6974af3c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyConnectionsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyConnectionsHandler.java @@ -29,6 +29,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class DestroyConnectionsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDestinationHandler.java index ce08250db..d3fe5f2dc 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDestinationHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.jmsserver.core.Destination; import com.sun.messaging.jmq.jmsserver.audit.api.MQAuditSession; +@SuppressWarnings("JdkObsolete") public class DestroyDestinationHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDurableHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDurableHandler.java index 062683498..a658f0af0 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDurableHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/DestroyDurableHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jmq.jmsserver.audit.api.MQAuditSession; +@SuppressWarnings("JdkObsolete") public class DestroyDurableHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetBrokerPropsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetBrokerPropsHandler.java index 5d3124264..7dcc553b2 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetBrokerPropsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetBrokerPropsHandler.java @@ -34,6 +34,7 @@ import com.sun.messaging.jmq.jmsserver.Broker; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") public class GetBrokerPropsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetClusterHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetClusterHandler.java index a294b5ea1..785c8a5e3 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetClusterHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetClusterHandler.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jms.management.server.BrokerClusterInfo; +@SuppressWarnings("JdkObsolete") public class GetClusterHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConnectionsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConnectionsHandler.java index 50733c63a..5e626ad03 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConnectionsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConnectionsHandler.java @@ -32,6 +32,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jmq.jmsserver.service.Service; +@SuppressWarnings("JdkObsolete") public class GetConnectionsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConsumersHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConsumersHandler.java index 7868453aa..9be02d872 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConsumersHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetConsumersHandler.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.jmsserver.core.Consumer; import com.sun.messaging.jmq.jmsserver.core.Session; +@SuppressWarnings("JdkObsolete") public class GetConsumersHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDestinationsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDestinationsHandler.java index 69f9aec9d..7dd245df7 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDestinationsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDestinationsHandler.java @@ -36,6 +36,7 @@ import com.sun.messaging.jmq.jmsserver.core.Producer; import com.sun.messaging.jmq.jmsserver.core.DestinationUID; +@SuppressWarnings("JdkObsolete") public class GetDestinationsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDurablesHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDurablesHandler.java index c53ff935c..dcdb7c8d2 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDurablesHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetDurablesHandler.java @@ -39,6 +39,7 @@ import com.sun.messaging.jmq.jmsserver.core.DestinationUID; import com.sun.messaging.jmq.jmsserver.core.BrokerAddress; +@SuppressWarnings("JdkObsolete") public class GetDurablesHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetJMXConnectorsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetJMXConnectorsHandler.java index 523648b09..6973e6ecd 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetJMXConnectorsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetJMXConnectorsHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.jmsserver.management.agent.Agent; import com.sun.messaging.jmq.jmsserver.management.agent.ConnectorServerManager; +@SuppressWarnings("JdkObsolete") public class GetJMXConnectorsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetLogsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetLogsHandler.java index 24ac97481..44058c384 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetLogsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetLogsHandler.java @@ -22,6 +22,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class GetLogsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMessagesHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMessagesHandler.java index 1c8ee0de5..28bcf955e 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMessagesHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMessagesHandler.java @@ -33,6 +33,7 @@ import com.sun.messaging.jmq.jmsserver.core.Destination; import com.sun.messaging.jmq.jmsserver.core.PacketReference; +@SuppressWarnings("JdkObsolete") public class GetMessagesHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMetricsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMetricsHandler.java index dc6e853e3..c9830bab4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMetricsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetMetricsHandler.java @@ -29,6 +29,7 @@ import com.sun.messaging.jmq.jmsserver.core.Destination; import com.sun.messaging.jmq.jmsserver.service.ServiceManager; +@SuppressWarnings("JdkObsolete") public class GetMetricsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetServicesHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetServicesHandler.java index b5b5194f3..0b77950b6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetServicesHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetServicesHandler.java @@ -36,6 +36,7 @@ import com.sun.messaging.jmq.jmsserver.service.ConnectionManager; import com.sun.messaging.jmq.jmsserver.service.imq.IMQService; +@SuppressWarnings("JdkObsolete") public class GetServicesHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetTransactionsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetTransactionsHandler.java index c2c27bb7c..73f2ca9ef 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetTransactionsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/GetTransactionsHandler.java @@ -38,6 +38,7 @@ import com.sun.messaging.jmq.jmsserver.persist.api.PartitionedStore; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class GetTransactionsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/HelloHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/HelloHandler.java index caf387f37..efb84b1f0 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/HelloHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/HelloHandler.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.bridge.api.BridgeServiceManager; +@SuppressWarnings("JdkObsolete") public class HelloHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/MigrateStoreHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/MigrateStoreHandler.java index 25b17065b..ce55aa788 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/MigrateStoreHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/MigrateStoreHandler.java @@ -45,6 +45,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class MigrateStoreHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); public static final String MAX_WAIT_ADMIN_CLIENT_PROP = Globals.IMQ + ".cluster.migratestore.shutdown.maxWaitAdminClient"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PauseHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PauseHandler.java index 8f0d552cc..5b1b82552 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PauseHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PauseHandler.java @@ -35,6 +35,7 @@ import com.sun.messaging.jmq.jmsserver.service.ServiceManager; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") public class PauseHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDestinationHandler.java index a0e40f357..1bb9066e4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDestinationHandler.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.util.DestType; import com.sun.messaging.jmq.jmsserver.audit.api.MQAuditSession; +@SuppressWarnings("JdkObsolete") public class PurgeDestinationHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDurableHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDurableHandler.java index a1536b289..8fa0fd4d7 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDurableHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/PurgeDurableHandler.java @@ -26,6 +26,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class PurgeDurableHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/QuiesceHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/QuiesceHandler.java index a23efdbe7..385c07eef 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/QuiesceHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/QuiesceHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class QuiesceHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReloadClusterHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReloadClusterHandler.java index 4343a3393..cdf11ee6e 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReloadClusterHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReloadClusterHandler.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class ReloadClusterHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReplaceMessageHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReplaceMessageHandler.java index 22ae94c70..bb0a050f4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReplaceMessageHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ReplaceMessageHandler.java @@ -32,6 +32,7 @@ import com.sun.messaging.jmq.jmsserver.core.PacketReference; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") public class ReplaceMessageHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResetMetricsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResetMetricsHandler.java index d93346a07..18b18fc45 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResetMetricsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResetMetricsHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.management.agent.Agent; import java.util.*; +@SuppressWarnings("JdkObsolete") public class ResetMetricsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResumeHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResumeHandler.java index 393b49e0f..2da44b410 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResumeHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ResumeHandler.java @@ -31,6 +31,7 @@ import com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection; import com.sun.messaging.jmq.jmsserver.resources.*; +@SuppressWarnings("JdkObsolete") public class ResumeHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/RollbackCommitHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/RollbackCommitHandler.java index 9a1f1e757..c06c42425 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/RollbackCommitHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/RollbackCommitHandler.java @@ -34,6 +34,7 @@ import com.sun.messaging.jmq.jmsserver.util.BrokerException; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class RollbackCommitHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ShutdownHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ShutdownHandler.java index 5be925ed2..e137ca251 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ShutdownHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ShutdownHandler.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class ShutdownHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/TakeoverHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/TakeoverHandler.java index 14fc4c712..dab8fdec6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/TakeoverHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/TakeoverHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class TakeoverHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UnquiesceHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UnquiesceHandler.java index 927e0679b..ada708e4c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UnquiesceHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UnquiesceHandler.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class UnquiesceHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateBrokerPropsHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateBrokerPropsHandler.java index 9bba2fb25..49ea65df1 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateBrokerPropsHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateBrokerPropsHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jmq.jmsserver.config.*; +@SuppressWarnings("JdkObsolete") public class UpdateBrokerPropsHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateClusterBrokerListHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateClusterBrokerListHandler.java index 7e96a3238..d0fa03124 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateClusterBrokerListHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateClusterBrokerListHandler.java @@ -35,6 +35,7 @@ import com.sun.messaging.jmq.jmsserver.cluster.api.ClusterManager; import com.sun.messaging.jmq.io.MQAddress; +@SuppressWarnings("JdkObsolete") public class UpdateClusterBrokerListHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateDestinationHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateDestinationHandler.java index 50c45e8bd..be855d5c2 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateDestinationHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateDestinationHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.util.DestType; import com.sun.messaging.jmq.jmsserver.core.Destination; +@SuppressWarnings("JdkObsolete") public class UpdateDestinationHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateServiceHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateServiceHandler.java index 1bc8be1d5..25bafda2a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateServiceHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/UpdateServiceHandler.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.util.log.Logger; import com.sun.messaging.jmq.jmsserver.Globals; +@SuppressWarnings("JdkObsolete") public class UpdateServiceHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ViewLogHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ViewLogHandler.java index aafe2963d..6e2487fd2 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ViewLogHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/handlers/admin/ViewLogHandler.java @@ -22,6 +22,7 @@ import com.sun.messaging.jmq.util.admin.MessageType; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class ViewLogHandler extends AdminCmdHandler { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/Protocol.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/Protocol.java index e3f400f25..0e393f18a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/Protocol.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/Protocol.java @@ -34,6 +34,7 @@ * interaction (e.g. when callbacks happen) is different for the jms protocol and other protocols. */ +@SuppressWarnings("JdkObsolete") public interface Protocol { boolean getDEBUG(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/ProtocolImpl.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/ProtocolImpl.java index 81b1f710e..ef13b53a7 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/ProtocolImpl.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/data/protocol/ProtocolImpl.java @@ -81,6 +81,7 @@ * interaction (e.g. when callbacks happen) is different for the jms protocol and other protocols. */ +@SuppressWarnings("JdkObsolete") public class ProtocolImpl implements Protocol { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/Agent.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/Agent.java index 8e54fbe37..769c63789 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/Agent.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/Agent.java @@ -51,6 +51,7 @@ * The Main class for the broker JMX Agent. * */ +@SuppressWarnings("JdkObsolete") public class Agent { private static boolean DEBUG = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".jmx.debug.all"); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/ConnectorServerManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/ConnectorServerManager.java index efec96281..9df2336e1 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/ConnectorServerManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/agent/ConnectorServerManager.java @@ -39,6 +39,7 @@ * Manager class for all JMX Connector Servers used by broker. * */ +@SuppressWarnings("JdkObsolete") public class ConnectorServerManager implements NotificationListener { private Logger logger; private BrokerConfig config; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterConfig.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterConfig.java index c911a7376..e3a83702b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterConfig.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterConfig.java @@ -49,6 +49,7 @@ import com.sun.messaging.jms.management.server.*; +@SuppressWarnings("JdkObsolete") public class ClusterConfig extends MQMBeanReadWrite implements ConfigListener { private Properties brokerProps = null; private static MBeanAttributeInfo[] attrs = { diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterMonitor.java index 20d593484..50c6db754 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/ClusterMonitor.java @@ -41,6 +41,7 @@ import com.sun.messaging.jmq.io.MQAddress; import com.sun.messaging.jmq.jmsserver.core.BrokerMQAddress; +@SuppressWarnings("JdkObsolete") public class ClusterMonitor extends MQMBeanReadOnly { private static MBeanAttributeInfo[] attrs = { new MBeanAttributeInfo(ClusterAttributes.CONFIG_FILE_URL, String.class.getName(), mbr.getString(mbr.I_CLS_ATTR_CONFIG_FILE_URL_DESC), true, false, diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/MessageManagerMonitor.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/MessageManagerMonitor.java index e0b2c97b4..728713956 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/MessageManagerMonitor.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/MessageManagerMonitor.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.jmsserver.util.BrokerException; import com.sun.messaging.jmq.util.io.FilteringObjectInputStream; +@SuppressWarnings("JdkObsolete") public class MessageManagerMonitor extends MQMBeanReadOnly { private static MBeanParameterInfo[] getMessageInfoSignature = { new MBeanParameterInfo("destinationType", String.class.getName(), mbr.getString(mbr.I_DST_MGR_OP_PARAM_DEST_TYPE)), diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/TransactionManagerConfig.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/TransactionManagerConfig.java index 9de01ff97..b618e7f4a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/TransactionManagerConfig.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/mbeans/TransactionManagerConfig.java @@ -40,6 +40,7 @@ import com.sun.messaging.jms.management.server.*; +@SuppressWarnings("JdkObsolete") public class TransactionManagerConfig extends MQMBeanReadWrite { private static MBeanAttributeInfo[] attrs = { new MBeanAttributeInfo(TransactionAttributes.NUM_TRANSACTIONS, Integer.class.getName(), mbr.getString(mbr.I_TXN_MGR_ATTR_NUM_TRANSACTIONS), true, false, false) }; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/ClusterUtil.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/ClusterUtil.java index 20cdfb19f..e98faecf1 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/ClusterUtil.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/ClusterUtil.java @@ -36,6 +36,7 @@ import com.sun.messaging.jmq.jmsserver.resources.BrokerResources; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class ClusterUtil { /* * Broker Cluster Info item names for Config MBeans diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/TransactionUtil.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/TransactionUtil.java index f3bda3c51..5a8db4a7f 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/TransactionUtil.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/management/util/TransactionUtil.java @@ -36,6 +36,7 @@ import com.sun.messaging.jmq.jmsserver.util.BrokerException; import com.sun.messaging.jmq.util.JMQXid; +@SuppressWarnings("JdkObsolete") public class TransactionUtil { /* * Transaction Info item names for Monitor MBeans diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryLevelHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryLevelHandler.java index 3b8b6fd93..659ea82a9 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryLevelHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryLevelHandler.java @@ -28,6 +28,7 @@ * Assumes that it is never called from two different threads at the same time !!! */ +@SuppressWarnings("JdkObsolete") public abstract class MemoryLevelHandler { protected Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryManager.java index 654ca809e..177f7c214 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/memory/MemoryManager.java @@ -31,6 +31,7 @@ * class which handles the broker memory management */ +@SuppressWarnings("JdkObsolete") public class MemoryManager implements DiagManager.Data { private static final boolean NO_GC_DEFAULT = true; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/ProtocolStreams.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/ProtocolStreams.java index 751bdfd97..112d26e90 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/ProtocolStreams.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/ProtocolStreams.java @@ -31,6 +31,7 @@ // NOTE this is currently identical to // com.sun.messaging.jmq.jmsclient.ConnectionHandler // +@SuppressWarnings("JdkObsolete") public interface ProtocolStreams { InputStream getInputStream() throws IOException; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/http/HTTPStreams.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/http/HTTPStreams.java index d8d7f8efd..f49d73040 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/http/HTTPStreams.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/http/HTTPStreams.java @@ -34,6 +34,7 @@ /** * HTTP Input and Output streams. */ +@SuppressWarnings("JdkObsolete") public class HTTPStreams implements ProtocolStreams { private HttpTunnelSocket socket = null; private volatile InputStream is = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/tcp/TcpStreams.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/tcp/TcpStreams.java index 985ac1066..1561cd743 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/tcp/TcpStreams.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/net/tcp/TcpStreams.java @@ -32,6 +32,7 @@ * really be a socket and its output streams). */ +@SuppressWarnings("JdkObsolete") public class TcpStreams implements ProtocolStreams { protected Socket socket = null; private volatile InputStream is = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/NoPersistPartitionedStoreImpl.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/NoPersistPartitionedStoreImpl.java index d8d84a4cc..9e1f976f6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/NoPersistPartitionedStoreImpl.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/NoPersistPartitionedStoreImpl.java @@ -37,6 +37,7 @@ import com.sun.messaging.jmq.jmsserver.data.TransactionUID; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") public class NoPersistPartitionedStoreImpl implements PartitionedStore { UID partitionid = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/PartitionedStore.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/PartitionedStore.java index 2402bc727..29bfe410b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/PartitionedStore.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/PartitionedStore.java @@ -38,6 +38,7 @@ /** * A PartitionedStore supports partitioned data access */ +@SuppressWarnings("JdkObsolete") public interface PartitionedStore { UID DEFAULT_UID = new UID(1L); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/Store.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/Store.java index 78d8041dd..18ad9d38b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/Store.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/Store.java @@ -58,6 +58,7 @@ */ @Contract @Singleton +@SuppressWarnings("JdkObsolete") public abstract class Store implements JMSBridgeStore { public static final String STORE_PROP_PREFIX = Globals.IMQ + ".persist.store"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/util/DataEnumeration.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/util/DataEnumeration.java index 41c26149f..4cc4c7b1c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/util/DataEnumeration.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/persist/api/util/DataEnumeration.java @@ -22,6 +22,7 @@ /** * DataEnumeration represent an enumeration of some types of data. */ +@SuppressWarnings("JdkObsolete") public class DataEnumeration implements Enumeration { private EnumerationStore store; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/CoreLifecycleSpi.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/CoreLifecycleSpi.java index 641fc95d2..8407b273a 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/CoreLifecycleSpi.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/CoreLifecycleSpi.java @@ -35,6 +35,7 @@ import com.sun.messaging.jmq.jmsserver.service.ConnectionUID; import com.sun.messaging.jmq.jmsserver.data.handlers.admin.AdminDataHandler; +@SuppressWarnings("JdkObsolete") public abstract class CoreLifecycleSpi { public static final String GFMQ = "GLASSFISH_MQ"; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/ProducerSpi.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/ProducerSpi.java index 5612f6e90..307651785 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/ProducerSpi.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/ProducerSpi.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection; import com.sun.messaging.jmq.util.CacheHashMap; +@SuppressWarnings("JdkObsolete") public abstract class ProducerSpi { protected static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/SessionOpSpi.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/SessionOpSpi.java index db1997bf5..9a0789081 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/SessionOpSpi.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/plugin/spi/SessionOpSpi.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.jmsserver.data.TransactionUID; import com.sun.messaging.jmq.jmsserver.service.Connection; +@SuppressWarnings("JdkObsolete") public abstract class SessionOpSpi { protected Session session = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/BasicRunnable.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/BasicRunnable.java index 371ed8fe4..76e22571c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/BasicRunnable.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/BasicRunnable.java @@ -31,6 +31,7 @@ * * @see ThreadPool */ +@SuppressWarnings("JdkObsolete") public abstract class BasicRunnable implements Runnable { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/ThreadPool.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/ThreadPool.java index 5ede4378e..cab5eec4e 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/ThreadPool.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/pool/ThreadPool.java @@ -41,6 +41,7 @@ * @see BasicRunnable * */ +@SuppressWarnings("JdkObsolete") public class ThreadPool { // sync scheme: // use lock for objects & counts diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Connection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Connection.java index 35794b485..4614e895d 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Connection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Connection.java @@ -36,6 +36,7 @@ * Each service will implement their own version of this Connection interface.. */ +@SuppressWarnings("JdkObsolete") public abstract class Connection { // XXX - lks - move to init method ? diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConnectionManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConnectionManager.java index c02282822..de96ddc32 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConnectionManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConnectionManager.java @@ -35,6 +35,7 @@ * mapped to Connections and may be used to check connection licensing. */ +@SuppressWarnings("JdkObsolete") public class ConnectionManager extends WeakValueHashMap { private static boolean DEBUG = false; private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConsumerInfoNotifyManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConsumerInfoNotifyManager.java index fdd6337ca..80e843da9 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConsumerInfoNotifyManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ConsumerInfoNotifyManager.java @@ -34,6 +34,7 @@ import com.sun.messaging.jmq.jmsserver.common.handlers.InfoRequestHandler; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class ConsumerInfoNotifyManager implements Runnable { /** * consumer info types (protocol) diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/DestinationLogHandler.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/DestinationLogHandler.java index 8c812615c..e1d52e653 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/DestinationLogHandler.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/DestinationLogHandler.java @@ -41,6 +41,7 @@ */ @Service(name = "com.sun.messaging.jmq.jmsserver.service.DestinationLogHandler") @PerLookup +@SuppressWarnings("JdkObsolete") public class DestinationLogHandler extends Handler { static boolean open = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/MetricManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/MetricManager.java index 5d91928a6..17105341c 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/MetricManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/MetricManager.java @@ -33,6 +33,7 @@ * MetricManager manages configuration and running of metric reports */ +@SuppressWarnings("JdkObsolete") public class MetricManager implements ConfigListener { // Hashtable of MetricCounters. Key is service name. diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Service.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Service.java index 58ed517ba..62a98e5c3 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Service.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/Service.java @@ -30,6 +30,7 @@ * Each service will also implement its own Connection interface. */ +@SuppressWarnings("JdkObsolete") public interface Service { String getName(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ServiceManager.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ServiceManager.java index 256aa625a..10a510bc5 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ServiceManager.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/ServiceManager.java @@ -54,6 +54,7 @@ * code is rarely called after startup, the performance should be acceptable. */ +@SuppressWarnings("JdkObsolete") public class ServiceManager { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/ConvertPacket.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/ConvertPacket.java index 7571df2e6..6c64691c4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/ConvertPacket.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/ConvertPacket.java @@ -31,6 +31,7 @@ // LKS - XXX update to handle both protocol and packet version +@SuppressWarnings("JdkObsolete") public class ConvertPacket { private Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQBasicConnection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQBasicConnection.java index 4e371c29e..ce574b6ea 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQBasicConnection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQBasicConnection.java @@ -34,6 +34,7 @@ import com.sun.messaging.jmq.util.net.IPAddress; import com.sun.messaging.jmq.jmsserver.service.MetricManager; +@SuppressWarnings("JdkObsolete") public abstract class IMQBasicConnection extends IMQConnection { String remoteConString = null; String remoteHostString = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQConnection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQConnection.java index fb454ed18..d002ab989 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQConnection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQConnection.java @@ -49,6 +49,7 @@ import com.sun.messaging.jmq.jmsserver.plugin.spi.CoreLifecycleSpi; import com.sun.messaging.jmq.jmsserver.persist.api.PartitionedStore; +@SuppressWarnings("JdkObsolete") public abstract class IMQConnection extends Connection implements com.sun.messaging.jmq.util.lists.EventListener { public static final boolean DEBUG_TXN = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".cluster.debug.txn"); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDirectService.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDirectService.java index 848e72def..3ec3b58d9 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDirectService.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDirectService.java @@ -32,6 +32,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jmq.jmsservice.JMSService; +@SuppressWarnings("JdkObsolete") public class IMQDirectService extends IMQService { /** diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDualThreadConnection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDualThreadConnection.java index 130d6d818..cad562bac 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDualThreadConnection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQDualThreadConnection.java @@ -44,6 +44,7 @@ import com.sun.messaging.jmq.util.lists.Reason; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public class IMQDualThreadConnection extends IMQBasicConnection implements DirectBrokerConnection { class DummyQueue

    implements HandOffQueue

    { @Override diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedConnection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedConnection.java index 0063e81c1..998828493 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedConnection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedConnection.java @@ -32,6 +32,7 @@ import java.io.*; import java.security.Principal; +@SuppressWarnings("JdkObsolete") public class IMQEmbeddedConnection extends IMQIPConnection implements DirectBrokerConnection { IMQBlockingQueue inputQueue; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedService.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedService.java index d41400d6f..20f658258 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedService.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQEmbeddedService.java @@ -32,6 +32,7 @@ import java.util.*; import java.nio.channels.SelectionKey; +@SuppressWarnings("JdkObsolete") public class IMQEmbeddedService extends IMQService { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPConnection.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPConnection.java index 29aa20d5a..7455b7742 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPConnection.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPConnection.java @@ -49,6 +49,7 @@ import com.sun.messaging.jmq.jmsserver.net.*; import com.sun.messaging.jmq.util.lists.*; +@SuppressWarnings("JdkObsolete") public class IMQIPConnection extends IMQBasicConnection implements Operation, MemoryCallback { public static final boolean expectPingReply = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPService.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPService.java index bd236e0a0..eb3e8c772 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPService.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQIPService.java @@ -33,6 +33,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import java.util.*; +@SuppressWarnings("JdkObsolete") public abstract class IMQIPService extends IMQService implements Runnable, ProtocolCallback { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQService.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQService.java index 740bf9e63..3ee1fc103 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQService.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/IMQService.java @@ -31,6 +31,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import java.util.*; +@SuppressWarnings("JdkObsolete") public abstract class IMQService implements Service { protected static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/JMSServiceImpl.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/JMSServiceImpl.java index 89824fabf..609e2092b 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/JMSServiceImpl.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/JMSServiceImpl.java @@ -52,6 +52,7 @@ import com.sun.messaging.jmq.jmsserver.management.agent.Agent; import com.sun.messaging.jmq.jmsservice.*; +@SuppressWarnings("JdkObsolete") public class JMSServiceImpl implements JMSService { protected Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupNotificationInfo.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupNotificationInfo.java index d41a2be75..31179a201 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupNotificationInfo.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupNotificationInfo.java @@ -29,6 +29,7 @@ // class that incaspulates the information needed to turn on // or off a selector +@SuppressWarnings("JdkObsolete") public class GroupNotificationInfo implements NotificationInfo { // private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupRunnable.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupRunnable.java index 70c96a83b..15b48660d 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupRunnable.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupRunnable.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.jmsserver.Globals; import com.sun.messaging.jmq.jmsserver.resources.*; +@SuppressWarnings("JdkObsolete") public class GroupRunnable extends BasicRunnable { SelectThread selthr = null; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupService.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupService.java index b78dae3aa..ec2d2bdf4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupService.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/GroupService.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.jmsserver.net.Protocol; import com.sun.messaging.jmq.jmsserver.data.PacketRouter; +@SuppressWarnings("JdkObsolete") public class GroupService extends IMQIPService { static boolean DEBUG = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapEntry.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapEntry.java index 6450e68b3..489f82ee6 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapEntry.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapEntry.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.jmsserver.service.*; import com.sun.messaging.jmq.jmsserver.resources.*; +@SuppressWarnings("JdkObsolete") class MapEntry { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapList.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapList.java index 1bc9cf43d..237e03534 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapList.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/MapList.java @@ -21,6 +21,7 @@ import com.sun.messaging.jmq.jmsserver.service.*; import com.sun.messaging.jmq.jmsserver.resources.*; +@SuppressWarnings("JdkObsolete") class MapList { HashMap map = new HashMap(); diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/ReadThread.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/ReadThread.java index 6a1570112..ee76518f7 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/ReadThread.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/ReadThread.java @@ -26,6 +26,7 @@ import com.sun.messaging.jmq.jmsserver.service.*; import com.sun.messaging.jmq.jmsserver.util.BrokerException; +@SuppressWarnings("JdkObsolete") class ReadThread extends SelectThread { int selector_cnt = 0; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/SelectThread.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/SelectThread.java index 5000bc97b..19e5a2975 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/SelectThread.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/SelectThread.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.service.imq.*; import com.sun.messaging.jmq.jmsserver.service.*; +@SuppressWarnings("JdkObsolete") abstract class SelectThread { protected Logger logger = Globals.getLogger(); protected static boolean DEBUG = GroupService.DEBUG; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/WriteThread.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/WriteThread.java index f645d31a7..224078cec 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/WriteThread.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/group/WriteThread.java @@ -23,6 +23,7 @@ import com.sun.messaging.jmq.jmsserver.service.imq.*; import com.sun.messaging.jmq.jmsserver.service.*; +@SuppressWarnings("JdkObsolete") class WriteThread extends SelectThread { boolean inSelect = false; boolean busy = false; diff --git a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/websocket/stomp/StompSessionImpl.java b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/websocket/stomp/StompSessionImpl.java index 01ae95f2f..9ff598aa4 100644 --- a/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/websocket/stomp/StompSessionImpl.java +++ b/mq/main/mq-broker/broker-core/src/main/java/com/sun/messaging/jmq/jmsserver/service/imq/websocket/stomp/StompSessionImpl.java @@ -43,6 +43,7 @@ /** * @author amyk */ +@SuppressWarnings("JdkObsolete") public abstract class StompSessionImpl implements StompSession { protected static final String QUEUE_CLASS_NAME = "com.sun.messaging.BasicQueue"; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ClusterManagerImpl.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ClusterManagerImpl.java index ead94af74..01add2628 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ClusterManagerImpl.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ClusterManagerImpl.java @@ -41,6 +41,7 @@ */ @Service(name = "com.sun.messaging.jmq.jmsserver.cluster.manager.ClusterManagerImpl") @Singleton +@SuppressWarnings("JdkObsolete") public class ClusterManagerImpl implements ClusterManager, ConfigListener { private static final String DEBUG_ALL_PROP = Globals.IMQ + ".cluster.debug.all"; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ha/HAMonitorServiceImpl.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ha/HAMonitorServiceImpl.java index fdbeead22..83533fae2 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ha/HAMonitorServiceImpl.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/manager/ha/HAMonitorServiceImpl.java @@ -66,6 +66,7 @@ */ @Service(name = "com.sun.messaging.jmq.jmsserver.cluster.manager.ha.HAMonitorServiceImpl") @Singleton +@SuppressWarnings("JdkObsolete") public class HAMonitorServiceImpl implements HAMonitorService, ClusterListener { private static boolean DEBUG_HA = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".ha.debug"); diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/BrokerConsumers.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/BrokerConsumers.java index af08625bd..078ca4503 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/BrokerConsumers.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/BrokerConsumers.java @@ -79,6 +79,7 @@ /** * This class represents the remote Consumers associated with the brokers in this cluster. */ +@SuppressWarnings("JdkObsolete") class BrokerConsumers implements Runnable, com.sun.messaging.jmq.util.lists.EventListener { Thread thr = null; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/ClusterRouter.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/ClusterRouter.java index d59796dcd..169704061 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/ClusterRouter.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/ClusterRouter.java @@ -26,6 +26,7 @@ import com.sun.messaging.jmq.jmsserver.service.ConnectionUID; import com.sun.messaging.jmq.io.*; +@SuppressWarnings("JdkObsolete") public interface ClusterRouter { void forwardMessage(PacketReference ref, Collection consumers); diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/MultibrokerRouter.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/MultibrokerRouter.java index b19b6cad5..881ba78fc 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/MultibrokerRouter.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/cluster/router/MultibrokerRouter.java @@ -53,6 +53,7 @@ /** * This class handles the processing of messages from other brokers in the cluster. */ +@SuppressWarnings("JdkObsolete") public class MultibrokerRouter implements ClusterRouter { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CallbackDispatcher.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CallbackDispatcher.java index df04df795..08ea19bc1 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CallbackDispatcher.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CallbackDispatcher.java @@ -47,6 +47,7 @@ /** * This class schedules the MessageBusCallback notification invokations. */ +@SuppressWarnings("JdkObsolete") public final class CallbackDispatcher extends Thread { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Cluster.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Cluster.java index d66b1d33d..c30759557 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Cluster.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Cluster.java @@ -28,6 +28,7 @@ * This interface defines the basic topology neutral broker-to-broker packet exchange mechanism. Each topology * implementation exposes just this interface and hides all the routing/topology management details. */ +@SuppressWarnings("JdkObsolete") public interface Cluster { /** * Setup the callback for received events. This method is called only by the MessageBus . diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/ClusterBroadcaster.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/ClusterBroadcaster.java index c51019dfd..e317e03a4 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/ClusterBroadcaster.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/ClusterBroadcaster.java @@ -45,6 +45,7 @@ */ @Service(name = com.sun.messaging.jmq.jmsserver.Broker.CLUSTER_BROADCASTER_SERVICE_NAME) @Singleton +@SuppressWarnings("JdkObsolete") public class ClusterBroadcaster implements ClusterBroadcast, MessageBusCallback, ChangeRecordCallback { private static boolean DEBUG_CLUSTER_TXN = Globals.getConfig().getBooleanProperty(Globals.IMQ + ".cluster.debug.txn"); diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CommonProtocol.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CommonProtocol.java index ccf228da9..5609a1cb8 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CommonProtocol.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/CommonProtocol.java @@ -36,6 +36,7 @@ import com.sun.messaging.jmq.jmsserver.cluster.api.*; import com.sun.messaging.jmq.jmsserver.persist.api.ChangeRecordInfo; +@SuppressWarnings("JdkObsolete") public class CommonProtocol implements Protocol { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Protocol.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Protocol.java index 27be8f9a7..331bdc13a 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Protocol.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/Protocol.java @@ -28,6 +28,7 @@ import com.sun.messaging.jmq.jmsserver.service.ConnectionUID; import com.sun.messaging.jmq.jmsserver.cluster.api.FileTransferCallback; +@SuppressWarnings("JdkObsolete") public interface Protocol extends ClusterCallback { /** * Get the cluster protocol version used by this protocol implementation. diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLink.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLink.java index bc1bcf0a7..fb69472b1 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLink.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLink.java @@ -42,6 +42,7 @@ /** * This class represents a connection between a pair of brokers. It handles the connection state management and I/O. */ +@SuppressWarnings("JdkObsolete") public class BrokerLink extends Thread { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLinkWriter.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLinkWriter.java index 4070168a8..562c4d867 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLinkWriter.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/BrokerLinkWriter.java @@ -26,6 +26,7 @@ * This class implements a dedicated packet writer thread. Each BrokerLink instance has its own BrokerLinkWriter * instance.. */ +@SuppressWarnings("JdkObsolete") class BrokerLinkWriter extends Thread { private OutputStream os = null; private LinkedList q = null; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/ClusterImpl.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/ClusterImpl.java index 6501358db..48ce34cd6 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/ClusterImpl.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/fullyconnected/ClusterImpl.java @@ -63,6 +63,7 @@ * This class implements the default fully connected topology. Version 2.0 : Brokers are connected using single TCP * connection. */ +@SuppressWarnings("JdkObsolete") public class ClusterImpl implements Cluster, ClusterListener { static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/heartbeat/HeartbeatImpl.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/heartbeat/HeartbeatImpl.java index b20cc31dd..0dd8971af 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/heartbeat/HeartbeatImpl.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/heartbeat/HeartbeatImpl.java @@ -30,6 +30,7 @@ import com.sun.messaging.jmq.jmsserver.multibroker.heartbeat.spi.Heartbeat; import com.sun.messaging.jmq.jmsserver.multibroker.heartbeat.spi.HeartbeatCallback; +@SuppressWarnings("JdkObsolete") public class HeartbeatImpl implements Heartbeat { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/ClusterDestInfo.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/ClusterDestInfo.java index 08451e9d6..713146707 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/ClusterDestInfo.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/ClusterDestInfo.java @@ -34,6 +34,7 @@ * Destination (see assertions) */ +@SuppressWarnings("JdkObsolete") public class ClusterDestInfo { private Destination d = null; diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/RaptorProtocol.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/RaptorProtocol.java index 04ebcd786..141403515 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/RaptorProtocol.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/RaptorProtocol.java @@ -61,6 +61,7 @@ import com.sun.messaging.jmq.jmsserver.multibroker.raptor.handlers.*; import com.sun.messaging.jmq.jmsserver.persist.api.ChangeRecordInfo; +@SuppressWarnings("JdkObsolete") public class RaptorProtocol implements Protocol, PartitionListener, StoreSessionReaperListener { protected static final Logger logger = Globals.getLogger(); protected static final BrokerResources br = Globals.getBrokerResources(); diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/handlers/DestinationUpdateHandler.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/handlers/DestinationUpdateHandler.java index 1ce6d6f28..55a0b772d 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/handlers/DestinationUpdateHandler.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/raptor/handlers/DestinationUpdateHandler.java @@ -24,6 +24,7 @@ import com.sun.messaging.jmq.jmsserver.multibroker.raptor.*; import com.sun.messaging.jmq.jmsserver.multibroker.MessageBusCallback; +@SuppressWarnings("JdkObsolete") public class DestinationUpdateHandler extends GPacketHandler { private DestinationList DL = Globals.getDestinationList(); diff --git a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/standalone/ClusterImpl.java b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/standalone/ClusterImpl.java index 23e4e8d06..9c3fba35d 100644 --- a/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/standalone/ClusterImpl.java +++ b/mq/main/mq-broker/cluster/src/main/java/com/sun/messaging/jmq/jmsserver/multibroker/standalone/ClusterImpl.java @@ -31,6 +31,7 @@ /** * This class implements the 'standalone' topology. */ +@SuppressWarnings("JdkObsolete") public class ClusterImpl implements Cluster, ConfigListener { ClusterCallback cb = null; private BrokerAddressImpl self; diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/BaseTransactionManager.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/BaseTransactionManager.java index d2466bd7f..a4ab572ad 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/BaseTransactionManager.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/BaseTransactionManager.java @@ -40,6 +40,7 @@ import com.sun.messaging.jmq.jmsserver.util.WaitTimeoutException; import com.sun.messaging.jmq.util.log.Logger; +@SuppressWarnings("JdkObsolete") public abstract class BaseTransactionManager { public static final Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/ConfigChangeRecord.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/ConfigChangeRecord.java index aac27c4b3..93d9d51e6 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/ConfigChangeRecord.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/ConfigChangeRecord.java @@ -31,6 +31,7 @@ * Keep track of all configuration change record. File format: 4 byte magic number then each record is appended to the * backing file in this order: timestamp (long) length of byte array (int) byte array */ +@SuppressWarnings("JdkObsolete") class ConfigChangeRecord { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DestinationListStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DestinationListStore.java index 23f1e2375..498623416 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DestinationListStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DestinationListStore.java @@ -38,6 +38,7 @@ /** * Keep track of all persisted destinations by using PHashMap. */ +@SuppressWarnings("JdkObsolete") class DestinationListStore { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DstMsgStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DstMsgStore.java index b44efd6a9..6f4cbd09b 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DstMsgStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/DstMsgStore.java @@ -41,6 +41,7 @@ * DstMsgStore keeps track of messages for a destination. Messages are either stored in records in a vrfile or in their * own file. */ +@SuppressWarnings("JdkObsolete") class DstMsgStore extends RandomAccessStore { BrokerConfig config = Globals.getConfig(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/FilePool.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/FilePool.java index 366f69ba8..7188c16ff 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/FilePool.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/FilePool.java @@ -31,6 +31,7 @@ * returned to the pool they are deleted. Keeps us from leaving an unbounded number of files around, but deletion is * expensive and we get no reuse. We track these just to preserve file names. */ +@SuppressWarnings("JdkObsolete") public class FilePool { public static final int POOL_UNASSIGNED = 0; diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/InterestStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/InterestStore.java index 3ed132c89..9cb53b784 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/InterestStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/InterestStore.java @@ -38,6 +38,7 @@ /** * Keep track of all persisted Interest objects */ +@SuppressWarnings("JdkObsolete") class InterestStore { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/MsgStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/MsgStore.java index 4a6b125f5..bd7ac2a94 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/MsgStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/MsgStore.java @@ -50,6 +50,7 @@ /** * MsgStore provides methods to persist/retrieve messages. */ +@SuppressWarnings("JdkObsolete") class MsgStore { // properties used by the message store diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PreparedTxnStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PreparedTxnStore.java index ca0179e45..0a74f8195 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PreparedTxnStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PreparedTxnStore.java @@ -47,6 +47,7 @@ * DstMsgStore keeps track of messages for a destination. Messages are either stored in records in a vrfile or in their * own file. */ +@SuppressWarnings("JdkObsolete") class PreparedTxnStore extends RandomAccessStore { BrokerConfig config = Globals.getConfig(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PropertiesFile.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PropertiesFile.java index edf11a353..75de574eb 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PropertiesFile.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/PropertiesFile.java @@ -36,6 +36,7 @@ /** * Keep track of persisted properties by using PHashMap. */ +@SuppressWarnings("JdkObsolete") class PropertiesFile { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/RandomAccessStore.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/RandomAccessStore.java index 85383a6be..82ee37a51 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/RandomAccessStore.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/RandomAccessStore.java @@ -32,6 +32,7 @@ /** * RandomAccessStore is an abstract class encapsulating a directory of files accessed by RandomAccessFiles objects. */ +@SuppressWarnings("JdkObsolete") abstract class RandomAccessStore { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TidList.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TidList.java index 7705b5d5f..03a80a2ce 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TidList.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TidList.java @@ -44,6 +44,7 @@ /** * Keep track of all persisted transaction states by using PHashMap. */ +@SuppressWarnings("JdkObsolete") class TidList { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TxnAckList.java b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TxnAckList.java index c1ee65d8a..0bf74b6f6 100644 --- a/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TxnAckList.java +++ b/mq/main/mq-broker/persist-file/src/main/java/com/sun/messaging/jmq/jmsserver/persist/file/TxnAckList.java @@ -40,6 +40,7 @@ /** * Keep track of acknowledgements for transactions using PHashMap. */ +@SuppressWarnings("JdkObsolete") class TxnAckList { Logger logger = Globals.getLogger(); diff --git a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageDAOImpl.java b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageDAOImpl.java index a3651a9a9..064938abe 100644 --- a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageDAOImpl.java +++ b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageDAOImpl.java @@ -44,6 +44,7 @@ /** * This class implement a generic MessageDAO. */ +@SuppressWarnings("JdkObsolete") class MessageDAOImpl extends BaseDAOImpl implements MessageDAO { protected final String tableName; diff --git a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageEnumeration.java b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageEnumeration.java index 8ab16d1e3..68c206975 100644 --- a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageEnumeration.java +++ b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/MessageEnumeration.java @@ -26,6 +26,7 @@ import java.io.IOException; import java.sql.*; +@SuppressWarnings("JdkObsolete") public class MessageEnumeration implements Enumeration { ResultSet rs = null; diff --git a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/CommDBManager.java b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/CommDBManager.java index 69b4d703f..eeac9f66e 100644 --- a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/CommDBManager.java +++ b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/CommDBManager.java @@ -41,6 +41,7 @@ /** * A supper DB manager class to be used by different JDBC stores */ +@SuppressWarnings("JdkObsolete") public abstract class CommDBManager { private static final String JDBC_STORE_TYPE = Store.JDBC_STORE_TYPE; diff --git a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/DBConnectionPool.java b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/DBConnectionPool.java index aa4492a4e..49bc3a0ce 100644 --- a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/DBConnectionPool.java +++ b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/comm/DBConnectionPool.java @@ -47,6 +47,7 @@ /** * The DBConnection class represents a pool of connections to one database. */ +@SuppressWarnings("JdkObsolete") public class DBConnectionPool { private static boolean DEBUG = false; diff --git a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/sharecc/JDBCShareConfigChangeStore.java b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/sharecc/JDBCShareConfigChangeStore.java index 8efb5fd1b..ae5ecc430 100644 --- a/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/sharecc/JDBCShareConfigChangeStore.java +++ b/mq/main/mq-broker/persist-jdbc/src/main/java/com/sun/messaging/jmq/jmsserver/persist/jdbc/sharecc/JDBCShareConfigChangeStore.java @@ -38,6 +38,7 @@ @Service(name = "com.sun.messaging.jmq.jmsserver.persist.jdbc.sharecc.JDBCShareConfigChangeStore") @Singleton +@SuppressWarnings("JdkObsolete") public class JDBCShareConfigChangeStore extends ShareConfigChangeStore implements CloseInProgressCallback { private static boolean DEBUG = getDEBUG(); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/AdministeredObject.java b/mq/main/mq-client/src/main/java/com/sun/messaging/AdministeredObject.java index b9775ab0d..ea4975d7a 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/AdministeredObject.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/AdministeredObject.java @@ -74,6 +74,7 @@ * */ +@SuppressWarnings("JdkObsolete") public abstract class AdministeredObject implements java.io.Serializable { /** diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/BrowserConsumer.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/BrowserConsumer.java index 07819e9f4..57a5a5c8d 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/BrowserConsumer.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/BrowserConsumer.java @@ -32,6 +32,7 @@ * BrowserConsumers */ +@SuppressWarnings("JdkObsolete") class BrowserConsumer extends Consumer implements Enumeration, Traceable { protected SessionImpl session = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionConsumerImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionConsumerImpl.java index a22bb147a..f7b2c295f 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionConsumerImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionConsumerImpl.java @@ -43,6 +43,7 @@ * @see jakarta.jms.TopicConnection#createConnectionConsumer * @see jakarta.jms.TopicConnection#createDurableConnectionConsumer */ +@SuppressWarnings("JdkObsolete") public class ConnectionConsumerImpl extends Consumer implements ConnectionConsumer, Traceable { protected ServerSessionPool serverSessionPool; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionFlowControlEntry.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionFlowControlEntry.java index c15749899..71112f730 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionFlowControlEntry.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionFlowControlEntry.java @@ -19,6 +19,7 @@ import java.io.PrintStream; import java.util.*; +@SuppressWarnings("JdkObsolete") class ConnectionFlowControlEntry extends FlowControlEntry { // Indicates whether flow control watermark checking should be // performed on this virtual stream... diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionImpl.java index 219f5fe3a..5bdb8279e 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionImpl.java @@ -93,6 +93,7 @@ * @see jakarta.jms.TopicConnection */ +@SuppressWarnings("JdkObsolete") public class ConnectionImpl implements com.sun.messaging.jms.Connection, Traceable, ContextableConnection { protected static final Version version = new Version(); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionMetaDataImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionMetaDataImpl.java index 9bc40e495..33e478587 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionMetaDataImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionMetaDataImpl.java @@ -27,6 +27,7 @@ * ConnectionMetaData provides information describing the Connection. */ +@SuppressWarnings("JdkObsolete") public class ConnectionMetaDataImpl extends ConnectionMetaDataAdapter { public static final String JMSXGroupID = "JMSXGroupID"; public static final String JMSXGroupSeq = "JMSXGroupSeq"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionRecover.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionRecover.java index 2ae23cbbb..342f0c1db 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionRecover.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConnectionRecover.java @@ -40,6 +40,7 @@ * */ +@SuppressWarnings("JdkObsolete") public class ConnectionRecover implements Runnable { protected ConnectionImpl connection = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/Consumer.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/Consumer.java index 07db7737e..fb84bf1d1 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/Consumer.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/Consumer.java @@ -27,6 +27,7 @@ * A Consumer is an internal abstraction of common attributes and operations for MessageConsumerImpl and * ConnectionConsumerImpl */ +@SuppressWarnings("JdkObsolete") abstract class Consumer { private static final String DMQ = "mq.sys.dmq"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConsumerFlowControlEntry.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConsumerFlowControlEntry.java index 45c297ae9..9d2837b05 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConsumerFlowControlEntry.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ConsumerFlowControlEntry.java @@ -22,6 +22,7 @@ import com.sun.messaging.jmq.jmsclient.resources.*; +@SuppressWarnings("JdkObsolete") class ConsumerFlowControlEntry extends FlowControlEntry { public static final String CONSUMER_FLOWCONTROL_LOGGER_NAME = ConnectionImpl.ROOT_LOGGER_NAME + ".consumer.flowcontrol"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControl.java index 0dcd8428f..8b05a0f7f 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControl.java @@ -35,6 +35,7 @@ * * */ +@SuppressWarnings("JdkObsolete") public class FlowControl implements Runnable, Traceable { // The current protocol handler protected ProtocolHandler protocolHandler = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControlEntry.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControlEntry.java index feca672f3..d196ae5b3 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControlEntry.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/FlowControlEntry.java @@ -19,6 +19,7 @@ import java.io.PrintStream; import java.util.*; +@SuppressWarnings("JdkObsolete") abstract class FlowControlEntry { protected boolean debug = Debug.debug; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/InterestTable.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/InterestTable.java index 14b38c65b..022317b0a 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/InterestTable.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/InterestTable.java @@ -23,6 +23,7 @@ * The Interest Table is used to hold the consumer's object that has registered interest to the Broker. */ +@SuppressWarnings("JdkObsolete") class InterestTable { // next available interest id. diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSProducerImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSProducerImpl.java index 1b3c85ff0..c8fbc1ae0 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSProducerImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSProducerImpl.java @@ -50,6 +50,7 @@ import com.sun.messaging.jms.MQMessageFormatRuntimeException; import com.sun.messaging.jms.MQRuntimeException; +@SuppressWarnings("JdkObsolete") public class JMSProducerImpl implements JMSProducer, Traceable { JMSContextImpl contextImpl; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedQueueConnectionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedQueueConnectionImpl.java index 28268de05..f80853df1 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedQueueConnectionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedQueueConnectionImpl.java @@ -33,6 +33,7 @@ * @see jakarta.jms.XAConnection */ +@SuppressWarnings("JdkObsolete") public class JMSXAWrappedQueueConnectionImpl implements JMSXAQueueConnection { private static final boolean debug = JMSXAWrappedConnectionFactoryImpl.debug; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedTopicConnectionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedTopicConnectionImpl.java index 82811a787..f6952a104 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedTopicConnectionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedTopicConnectionImpl.java @@ -34,6 +34,7 @@ * @see jakarta.jms.XAConnection */ +@SuppressWarnings("JdkObsolete") public class JMSXAWrappedTopicConnectionImpl implements JMSXATopicConnection { private static final boolean debug = JMSXAWrappedConnectionFactoryImpl.debug; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedXSessionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedXSessionImpl.java index 12bd727ed..8392f3d10 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedXSessionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/JMSXAWrappedXSessionImpl.java @@ -29,6 +29,7 @@ import jakarta.jms.Session; import java.lang.System.Logger; +@SuppressWarnings("JdkObsolete") abstract class JMSXAWrappedXSessionImpl { static final boolean debug = JMSXAWrappedConnectionFactoryImpl.debug; private static Logger logger = System.getLogger(JMSXAWrappedXSessionImpl.class.getName()); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MapMessageImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MapMessageImpl.java index d577499b3..be5eef3b8 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MapMessageImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MapMessageImpl.java @@ -79,6 +79,7 @@ * @see jakarta.jms.TextMessage */ +@SuppressWarnings("JdkObsolete") public class MapMessageImpl extends MessageImpl implements MapMessage { // private Hashtable mapMessage = new Hashtable(); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConsumerImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConsumerImpl.java index e4ce977d8..15a2d450c 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConsumerImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConsumerImpl.java @@ -60,6 +60,7 @@ * @see jakarta.jms.Session */ +@SuppressWarnings("JdkObsolete") public class MessageConsumerImpl extends Consumer implements MQMessageConsumer, Traceable { protected MessageListener messageListener = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConvert.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConvert.java index 904adf57c..c61d3dd90 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConvert.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageConvert.java @@ -28,6 +28,7 @@ * This class is to convert other vendor's message to JMQ message type. */ +@SuppressWarnings("JdkObsolete") public class MessageConvert { protected static final MessageConvert messageConvert = new MessageConvert(); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageImpl.java index a3c6ab7de..24d1d2613 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageImpl.java @@ -409,6 +409,7 @@ * @see jakarta.jms.TextMessage */ +@SuppressWarnings("JdkObsolete") public class MessageImpl implements jakarta.jms.Message, com.sun.messaging.jms.Message, Traceable { public static final String UTF8 = "UTF8"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageProducerImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageProducerImpl.java index 1fe407cb6..76dba3d65 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageProducerImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/MessageProducerImpl.java @@ -52,6 +52,7 @@ * @see jakarta.jms.Session */ +@SuppressWarnings("JdkObsolete") public class MessageProducerImpl implements MessageProducer { protected boolean inClosing = false; protected boolean isClosed = false; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/PriorityQueue.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/PriorityQueue.java index d8692da79..8ad0df0ad 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/PriorityQueue.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/PriorityQueue.java @@ -28,6 +28,7 @@ *

    */ +@SuppressWarnings("JdkObsolete") class PriorityQueue implements MessageQueue { /** diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ProtocolHandler.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ProtocolHandler.java index 540cbb61a..51f66042c 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ProtocolHandler.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ProtocolHandler.java @@ -55,6 +55,7 @@ import java.util.Date; +@SuppressWarnings("JdkObsolete") public class ProtocolHandler { /** diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/QueueBrowserImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/QueueBrowserImpl.java index e90954dc4..5f9bec7a0 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/QueueBrowserImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/QueueBrowserImpl.java @@ -38,6 +38,7 @@ * @see jakarta.jms.QueueReceiver */ +@SuppressWarnings("JdkObsolete") public class QueueBrowserImpl implements QueueBrowser { private SessionImpl session = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadChannel.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadChannel.java index 717a037be..1536997c0 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadChannel.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadChannel.java @@ -43,6 +43,7 @@ * When Connection.stop() is called, the STOP packet is sent to the broker and no JMS messages should be delivered to * this client. */ +@SuppressWarnings("JdkObsolete") public class ReadChannel implements PacketDispatcher, Runnable { // current read channel thread diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadQTable.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadQTable.java index 5496539ab..208f46cdd 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadQTable.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ReadQTable.java @@ -20,6 +20,7 @@ import java.util.Enumeration; import java.util.Iterator; +@SuppressWarnings("JdkObsolete") class ReadQTable { Hashtable table = new Hashtable(); diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/RemoteAcknowledgeException.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/RemoteAcknowledgeException.java index 3dd382170..dd0314c85 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/RemoteAcknowledgeException.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/RemoteAcknowledgeException.java @@ -33,6 +33,7 @@ * originated from the killed remote broker. * */ +@SuppressWarnings("JdkObsolete") public class RemoteAcknowledgeException extends JMSException { private static final long serialVersionUID = -4337712642052398211L; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SequentialQueue.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SequentialQueue.java index 125ef1a0d..7a7b9a564 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SequentialQueue.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SequentialQueue.java @@ -24,6 +24,7 @@ *

    */ +@SuppressWarnings("JdkObsolete") public class SequentialQueue implements MessageQueue { // queue structure. private Vector queue = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ServerSessionRunner.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ServerSessionRunner.java index 510e35656..ff0f4f88b 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ServerSessionRunner.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/ServerSessionRunner.java @@ -29,6 +29,7 @@ * @see com.sun.messaging.jmq.jmsclient.SessionImpl */ +@SuppressWarnings("JdkObsolete") class ServerSessionRunner { // states corresponding to Session start/stop/close diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionImpl.java index 206ba1c4b..f711f780a 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionImpl.java @@ -110,6 +110,7 @@ * @see jakarta.jms.XASession */ +@SuppressWarnings("JdkObsolete") public class SessionImpl implements JMSRAXASession, Traceable, ContextableSession { /** diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionQueue.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionQueue.java index d1547a610..ad35cfe4b 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionQueue.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionQueue.java @@ -29,6 +29,7 @@ * data to the queue. */ +@SuppressWarnings("JdkObsolete") class SessionQueue implements Traceable { private MessageQueue queue = null; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionReader.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionReader.java index 3e97cb64a..1aec7184a 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionReader.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/SessionReader.java @@ -27,6 +27,7 @@ import com.sun.messaging.AdministeredObject; //XXX REVISIT +@SuppressWarnings("JdkObsolete") public class SessionReader extends ConsumerReader { private boolean debug = Debug.debug; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/UnifiedSessionImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/UnifiedSessionImpl.java index 8f32cc110..611795dd1 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/UnifiedSessionImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/UnifiedSessionImpl.java @@ -36,6 +36,7 @@ * @see com.sun.messaging.jms.Session */ +@SuppressWarnings("JdkObsolete") public class UnifiedSessionImpl extends SessionImpl implements com.sun.messaging.jms.Session { // Now we support NO_ACKNOWLEDGE mode. public UnifiedSessionImpl(ConnectionImpl connection, boolean transacted, int ackMode) throws JMSException { diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForMC.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForMC.java index 79582ce7d..f04293151 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForMC.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForMC.java @@ -66,6 +66,7 @@ * @see javax.transaction.xa.XAResource */ +@SuppressWarnings("JdkObsolete") public class XAResourceForMC extends XAResourceForX implements XAResource, XAResourceForJMQ { // Id of the MC that this is associated with private JMSRAManagedConnection mc; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForRA.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForRA.java index eb912c12c..622b77547 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForRA.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceForRA.java @@ -63,6 +63,7 @@ * @see javax.transaction.xa.XAResource */ +@SuppressWarnings("JdkObsolete") public class XAResourceForRA extends XAResourceForX implements XAResource, XAResourceForJMQ { // Id of the omr that this is associated with private JMSRAOnMessageRunner omr; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceImpl.java index 48dfa6487..b0dc5f249 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/XAResourceImpl.java @@ -62,6 +62,7 @@ * @see javax.transaction.xa.XAResource */ +@SuppressWarnings("JdkObsolete") public class XAResourceImpl implements XAResource, XAResourceForJMQ { private SessionImpl _session; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/runtime/impl/BrokerInstanceImpl.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/runtime/impl/BrokerInstanceImpl.java index 4417d8580..f0ad4209d 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/runtime/impl/BrokerInstanceImpl.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/runtime/impl/BrokerInstanceImpl.java @@ -34,6 +34,7 @@ import com.sun.messaging.jmq.jmsservice.JMSDirectBroker; import com.sun.messaging.jmq.jmsservice.JMSService; +@SuppressWarnings("JdkObsolete") public class BrokerInstanceImpl implements DirectBrokerInstance { private static final String BROKER_PROCESS = "com.sun.messaging.jmq.jmsserver.BrokerProcess"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/ValidatorFactory.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/ValidatorFactory.java index 2d9e9fbcb..5dbafd611 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/ValidatorFactory.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/ValidatorFactory.java @@ -22,6 +22,7 @@ import java.util.Properties; import jakarta.jms.JMSException; +@SuppressWarnings("JdkObsolete") public class ValidatorFactory { static final String TOPIC_PROP_NAME_PREFIX = "imq.xml.validate.topic"; diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/XMLValidator.java b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/XMLValidator.java index cab26dc0e..6cf28f6b1 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/XMLValidator.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/jmq/jmsclient/validation/XMLValidator.java @@ -44,6 +44,7 @@ * * @author chiaming */ +@SuppressWarnings("JdkObsolete") public class XMLValidator { /** * System property to turn on/off xml schema validation. If set to true, XML content is validated against the schema diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/AdministeredObjectFactory.java b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/AdministeredObjectFactory.java index 5a00b14cd..11ba01bcc 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/AdministeredObjectFactory.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/AdministeredObjectFactory.java @@ -30,6 +30,7 @@ * class. */ +@SuppressWarnings("JdkObsolete") public class AdministeredObjectFactory implements javax.naming.spi.ObjectFactory { /** Key for version in Reference objects */ diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/CFObjectFactory.java b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/CFObjectFactory.java index 8f4f5569e..a13a6b408 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/CFObjectFactory.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/CFObjectFactory.java @@ -52,6 +52,7 @@ * */ +@SuppressWarnings("JdkObsolete") public abstract class CFObjectFactory extends AdministeredObjectFactory { /** used only by ConnectionFactory reference objects */ diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/DObjectFactory.java b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/DObjectFactory.java index b9cbb02d9..9b3439f1a 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/DObjectFactory.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/DObjectFactory.java @@ -49,6 +49,7 @@ * [0] = reserved for version [1] = reserved for destination name */ +@SuppressWarnings("JdkObsolete") public abstract class DObjectFactory extends AdministeredObjectFactory { /** used only by Destination reference objects */ diff --git a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/ReferenceGenerator.java b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/ReferenceGenerator.java index f28dc88e9..07f9734f9 100644 --- a/mq/main/mq-client/src/main/java/com/sun/messaging/naming/ReferenceGenerator.java +++ b/mq/main/mq-client/src/main/java/com/sun/messaging/naming/ReferenceGenerator.java @@ -27,6 +27,7 @@ /** * A ReferenceGenerator generates a Reference object given an Administered object and the Object Factory Class Name. */ +@SuppressWarnings("JdkObsolete") public class ReferenceGenerator { /** The index in the Reference object of the Version Number */ diff --git a/mq/main/mq-direct/src/main/java/com/sun/messaging/jmq/jmsservice/JMSPacketProperties.java b/mq/main/mq-direct/src/main/java/com/sun/messaging/jmq/jmsservice/JMSPacketProperties.java index eaeb2f658..d78f022f7 100644 --- a/mq/main/mq-direct/src/main/java/com/sun/messaging/jmq/jmsservice/JMSPacketProperties.java +++ b/mq/main/mq-direct/src/main/java/com/sun/messaging/jmq/jmsservice/JMSPacketProperties.java @@ -27,6 +27,7 @@ * {@code set}, where {@code } is replaced with the name of the property in the MQ wire * protocol.
    */ +@SuppressWarnings("JdkObsolete") public class JMSPacketProperties extends Hashtable { private static final long serialVersionUID = -2770279263000523841L; diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/EmbeddedBrokerRunner.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/EmbeddedBrokerRunner.java index 3703cbe6c..0f8ba43d1 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/EmbeddedBrokerRunner.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/EmbeddedBrokerRunner.java @@ -34,6 +34,7 @@ * Runs an embedded broker instance through the Broker* interfaces exposed for in-process broker lifecycle control */ +@SuppressWarnings("JdkObsolete") public class EmbeddedBrokerRunner implements BrokerEventListener { /** Properties to be used by the embedded broker */ diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/LocalBrokerRunner.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/LocalBrokerRunner.java index ad0d728f9..f47d67ab4 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/LocalBrokerRunner.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/blc/LocalBrokerRunner.java @@ -31,6 +31,7 @@ * Runs a local broker instance through the JMSSPI interfaces exposed for out-of-process broker lifecycle control */ +@SuppressWarnings("JdkObsolete") public class LocalBrokerRunner { /* Properties to be used by the embedded broker */ diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ActivationSpec.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ActivationSpec.java index c330c5d98..608b743b9 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ActivationSpec.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ActivationSpec.java @@ -35,6 +35,7 @@ * uses it to activate message inflow to a message listener in the application server. */ +@SuppressWarnings("JdkObsolete") public class ActivationSpec implements jakarta.resource.spi.ActivationSpec, java.io.Serializable, GenericConnectionFactoryProperties { private static final long serialVersionUID = 1L; diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConcurrentEndpointConsumer.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConcurrentEndpointConsumer.java index 22315aa65..5c67d0b24 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConcurrentEndpointConsumer.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConcurrentEndpointConsumer.java @@ -30,6 +30,7 @@ /** * */ +@SuppressWarnings("JdkObsolete") public class ConcurrentEndpointConsumer extends EndpointConsumer { /** diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionEventListener.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionEventListener.java index 953701644..f93cca253 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionEventListener.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionEventListener.java @@ -31,6 +31,7 @@ * SJS MQ RA. */ +@SuppressWarnings("JdkObsolete") public class ConnectionEventListener implements jakarta.jms.ExceptionListener, com.sun.messaging.jms.notification.EventListener { /** The connection event listener list */ private Vector listeners = null; diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionMetaData.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionMetaData.java index dc37f8a81..b53f5eb72 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionMetaData.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/ConnectionMetaData.java @@ -25,6 +25,7 @@ import com.sun.messaging.jmq.jmsservice.JMSService; import com.sun.messaging.jmq.jmsclient.ConnectionMetaDataAdapter; +@SuppressWarnings("JdkObsolete") public abstract class ConnectionMetaData extends ConnectionMetaDataAdapter { /** diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectConnection.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectConnection.java index 5abf690ba..0f810379e 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectConnection.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectConnection.java @@ -45,6 +45,7 @@ /** * DirectConnection encapsulates JMS Connection behavior for MQ DIRECT mode operation. */ +@SuppressWarnings("JdkObsolete") public class DirectConnection implements jakarta.jms.QueueConnection, jakarta.jms.TopicConnection, ContextableConnection { /** diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java index dc01fe04f..6cd29e188 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectPacket.java @@ -52,6 +52,7 @@ * DirectPacket encapsulates the JMS Message and Sun MQ Packet for DIRECT Mode. *

    */ +@SuppressWarnings("JdkObsolete") public class DirectPacket implements JMSPacket, jakarta.jms.Message, com.sun.messaging.jms.Message { /** The Sun MQ Packet that is associated with this DirectPacket */ diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectQueueBrowser.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectQueueBrowser.java index 44193cc97..2f1ff12d5 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectQueueBrowser.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectQueueBrowser.java @@ -27,6 +27,7 @@ import com.sun.messaging.jmq.jmsservice.JMSServiceReply; import com.sun.messaging.jmq.jmsservice.JMSServiceException; +@SuppressWarnings("JdkObsolete") public class DirectQueueBrowser implements Enumeration, jakarta.jms.QueueBrowser { /** diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectSession.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectSession.java index 7536bb0d6..8c9e9bc41 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectSession.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/DirectSession.java @@ -64,6 +64,7 @@ /** * DirectSession encapsulates JMS Session behavior for MQ DIRECT mode operation */ +@SuppressWarnings("JdkObsolete") public class DirectSession implements jakarta.jms.QueueSession, jakarta.jms.TopicSession { /** diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/OnMessageRunnerPool.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/OnMessageRunnerPool.java index 4a26c4156..8f63d3bc3 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/OnMessageRunnerPool.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/OnMessageRunnerPool.java @@ -31,6 +31,7 @@ * Holds a pool of OnMessageRunner objects. */ +@SuppressWarnings("JdkObsolete") public class OnMessageRunnerPool { /** The maximum number of OnMessageRunner objects allocated */ diff --git a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/util/CustomTokenizer.java b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/util/CustomTokenizer.java index dd513502f..2bcdccb0d 100644 --- a/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/util/CustomTokenizer.java +++ b/mq/main/mq-jmsra/jmsra-ra/src/main/java/com/sun/messaging/jms/ra/util/CustomTokenizer.java @@ -64,6 +64,7 @@ * * @author Jane Young */ +@SuppressWarnings("JdkObsolete") public class CustomTokenizer { private static final char ESCAPE_CHAR = '\\'; private static final String QUOTE_STRING = "\""; diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/MessageHandlerChain.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/MessageHandlerChain.java index a6f15407c..73ba781ba 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/MessageHandlerChain.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/MessageHandlerChain.java @@ -33,6 +33,7 @@ * @see MessageHandler * @see SOAPService */ +@SuppressWarnings("JdkObsolete") public class MessageHandlerChain { private Vector handlerChain = new Vector(); diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSMessageContext.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSMessageContext.java index 539d45269..f0a76e1f7 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSMessageContext.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSMessageContext.java @@ -43,6 +43,7 @@ * @see ServiceContext * @see MessageHandler */ +@SuppressWarnings("JdkObsolete") public class UMSMessageContext implements MessageContext { /** diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServiceContext.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServiceContext.java index fd5e84944..601c8ade4 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServiceContext.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServiceContext.java @@ -39,6 +39,7 @@ * @see SOAPService * @see MessageHandler */ +@SuppressWarnings("JdkObsolete") public class UMSServiceContext implements ServiceContext { /** diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServlet.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServlet.java index f0d090e3c..9921669f9 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServlet.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/core/UMSServlet.java @@ -115,6 +115,7 @@ * * @author chiaming */ +@SuppressWarnings("JdkObsolete") public class UMSServlet extends HttpServlet { /** diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/CachedConnectionPool.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/CachedConnectionPool.java index da697af7a..4a7c60dd0 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/CachedConnectionPool.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/CachedConnectionPool.java @@ -31,6 +31,7 @@ import jakarta.jms.Connection; import jakarta.jms.JMSException; +@SuppressWarnings("JdkObsolete") public class CachedConnectionPool implements Sweepable { // private String myName = null; diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientPool.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientPool.java index e2e413043..99d5b2c9f 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientPool.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientPool.java @@ -34,6 +34,7 @@ import jakarta.jms.JMSException; import jakarta.xml.soap.SOAPMessage; +@SuppressWarnings("JdkObsolete") public class ClientPool implements Sweepable { private String provider = null; diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientTable.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientTable.java index c32608fae..bc3aa5ce7 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientTable.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/ClientTable.java @@ -27,6 +27,7 @@ * * @author chiaming */ +@SuppressWarnings("JdkObsolete") public class ClientTable { private Hashtable clients = new Hashtable<>(); diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/UMSServiceImpl.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/UMSServiceImpl.java index 4a003527e..4cc0eb0cc 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/UMSServiceImpl.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/ums/service/UMSServiceImpl.java @@ -33,6 +33,7 @@ import jakarta.xml.soap.SOAPException; import jakarta.xml.soap.SOAPMessage; +@SuppressWarnings("JdkObsolete") public class UMSServiceImpl { // private SendService sendService = null; diff --git a/mq/main/mq-ums/src/main/java/com/sun/messaging/xml/MessageTransformer.java b/mq/main/mq-ums/src/main/java/com/sun/messaging/xml/MessageTransformer.java index 7dbbad49a..d67e3e3c9 100644 --- a/mq/main/mq-ums/src/main/java/com/sun/messaging/xml/MessageTransformer.java +++ b/mq/main/mq-ums/src/main/java/com/sun/messaging/xml/MessageTransformer.java @@ -30,6 +30,7 @@ /** * The Transformer class encapsulates the functionality to transform SOAP and JMS messages. */ +@SuppressWarnings("JdkObsolete") public class MessageTransformer { /** Private Constructor */ diff --git a/mq/main/persist/disk-io/src/main/java/com/sun/messaging/jmq/io/disk/VRFile.java b/mq/main/persist/disk-io/src/main/java/com/sun/messaging/jmq/io/disk/VRFile.java index 57c95cfbb..4382f4485 100644 --- a/mq/main/persist/disk-io/src/main/java/com/sun/messaging/jmq/io/disk/VRFile.java +++ b/mq/main/persist/disk-io/src/main/java/com/sun/messaging/jmq/io/disk/VRFile.java @@ -120,6 +120,7 @@ * */ +@SuppressWarnings("JdkObsolete") public abstract class VRFile { private static boolean DEBUG = Boolean.getBoolean("vrfile.debug"); diff --git a/mq/main/persist/txnlog/src/main/java/com/sun/messaging/jmq/io/txnlog/file/FileTransactionLogWriter.java b/mq/main/persist/txnlog/src/main/java/com/sun/messaging/jmq/io/txnlog/file/FileTransactionLogWriter.java index d96117b5d..b6c437ca9 100644 --- a/mq/main/persist/txnlog/src/main/java/com/sun/messaging/jmq/io/txnlog/file/FileTransactionLogWriter.java +++ b/mq/main/persist/txnlog/src/main/java/com/sun/messaging/jmq/io/txnlog/file/FileTransactionLogWriter.java @@ -44,6 +44,7 @@ *

    * XXX: chiaming (06/30/2006) add comments to describe file/header layout here. */ +@SuppressWarnings("JdkObsolete") public class FileTransactionLogWriter implements TransactionLogWriter, Runnable { // file header constants - version