Commit bcad2f4f authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

JORAM-330: defines serialVersionUID for interoperability, fix with

5.15.0 value (same as 5.16.0).
parent 62fc6017
......@@ -101,8 +101,8 @@ import fr.dyade.aaa.util.management.MXWrapper;
* MOM destinations.
*/
public abstract class Destination extends Agent implements DestinationMBean {
/** define serialVersionUID for interoperability, fix with 5.16.0 value */
private static final long serialVersionUID = -6697938753761953568L;
/** define serialVersionUID for interoperability, fix with 5.15.0 value */
private static final long serialVersionUID = -4457639325610333885L;
public static Logger logger = Debug.getLogger(Destination.class.getName());
......@@ -716,7 +716,6 @@ public abstract class Destination extends Agent implements DestinationMBean {
nbMsgsSentToDMQSinceCreation++;
// JORAM-326: Saves the queue to avoid bad counter value at restart.
if (strictCounters) {
logger.log(BasicLevel.ERROR, "Destination.clientMessages: " + strictCounters);
setSave();
}
......
......@@ -51,7 +51,7 @@ import fr.dyade.aaa.util.management.MXWrapper;
public class JMSModule implements ExceptionListener, Serializable, JMSModuleMBean {
/** define serialVersionUID for interoperability, fix with 5.16.0 value */
private static final long serialVersionUID = 6503560328263372094L;
private static final long serialVersionUID = -4654256406604729021L;
private static final Logger logger = Debug.getLogger(JMSModule.class.getName());
......
......@@ -2091,7 +2091,7 @@
failonerror="no" fork="yes"
dir="${run.dir}">
<classpath path="${project.class.path}"/>
<arg line="java.util.Hashtable fr.dyade.aaa.agent.AgentId fr.dyade.aaa.agent.CallbackNotification fr.dyade.aaa.jndi2.server.RequestContext org.objectweb.joram.mom.util.MessageIdListImpl org.objectweb.joram.mom.proxies.UserAgentArrivalState org.objectweb.joram.mom.dest.QueueArrivalState org.objectweb.joram.mom.dest.QueueDelivery org.objectweb.joram.mom.dest.QueueDeliveryTable org.objectweb.joram.mom.dest.AdminTopic org.objectweb.joram.mom.dest.Destination org.objectweb.joram.mom.notifications.AbstractNotification org.objectweb.joram.mom.notifications.AbstractReplyNot org.objectweb.joram.mom.notifications.AbstractRequestNot org.objectweb.joram.mom.proxies.UserAgent$SharedCtx org.objectweb.joram.client.jms.admin.AbstractConnectionFactory org.objectweb.joram.mom.dest.jms.JMSModule "/>
<arg line="java.util.Hashtable fr.dyade.aaa.agent.AgentId fr.dyade.aaa.agent.CallbackNotification fr.dyade.aaa.jndi2.server.RequestContext org.objectweb.joram.mom.util.MessageIdListImpl org.objectweb.joram.mom.proxies.UserAgentArrivalState org.objectweb.joram.mom.dest.QueueArrivalState org.objectweb.joram.mom.dest.QueueDelivery org.objectweb.joram.mom.dest.QueueDeliveryTable org.objectweb.joram.mom.dest.AdminTopic org.objectweb.joram.mom.dest.Destination org.objectweb.joram.mom.notifications.AbstractNotification org.objectweb.joram.mom.notifications.AbstractReplyNot org.objectweb.joram.mom.notifications.AbstractRequestNot org.objectweb.joram.mom.proxies.UserAgent$SharedCtx org.objectweb.joram.client.jms.admin.AbstractConnectionFactory org.objectweb.joram.mom.dest.jms.JMSModule"/>
</java>
</target>
......
package test;
import java.io.ObjectStreamClass;
public class listSVid {
public static void main(String[] args) {
for (String cn : args) {
try {
long serialVersionID = ObjectStreamClass.lookup(Class.forName(cn)).getSerialVersionUID();
System.out.println("Class: " + cn + " -> " + serialVersionID);
} catch (Throwable t) {
t.printStackTrace(System.out);
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment