Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
bcad2f4f
Commit
bcad2f4f
authored
Oct 30, 2019
by
Andre Freyssinet
Browse files
JORAM-330: defines serialVersionUID for interoperability, fix with
5.15.0 value (same as 5.16.0).
parent
62fc6017
Changes
4
Hide whitespace changes
Inline
Side-by-side
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/dest/Destination.java
View file @
bcad2f4f
...
...
@@ -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.1
6
.0 value */
private
static
final
long
serialVersionUID
=
-
6697938753761953568
L
;
/** define serialVersionUID for interoperability, fix with 5.1
5
.0 value */
private
static
final
long
serialVersionUID
=
-
4457639325610333885
L
;
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
();
}
...
...
joram/joram/mom/extensions/jmsbridge/src/main/java/org/objectweb/joram/mom/dest/jms/JMSModule.java
View file @
bcad2f4f
...
...
@@ -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
=
6503560328263372094
L
;
private
static
final
long
serialVersionUID
=
-
4654256406604729021
L
;
private
static
final
Logger
logger
=
Debug
.
getLogger
(
JMSModule
.
class
.
getName
());
...
...
joram/samples/src/joram/build.xml
View file @
bcad2f4f
...
...
@@ -2091,8 +2091,8 @@
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
"
/>
</java>
<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>
</project>
joram/samples/src/joram/test/listSVid.java
0 → 100644
View file @
bcad2f4f
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
);
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment