summaryrefslogtreecommitdiff
path: root/test/Java
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-01-01 02:01:15 +0000
committerSteven Knight <knight@baldmt.com>2010-01-01 02:01:15 +0000
commit60b669c4de0660a39e5b1066b797d2d7bac2c2e0 (patch)
treebc19f0cd1d89c0f64b8fec331fdc9aeebe6b7249 /test/Java
parent45f67d74f2181f74aec1070c44c8d8a05f5fdfd8 (diff)
downloadscons-60b669c4de0660a39e5b1066b797d2d7bac2c2e0.tar.gz
Define "static final long serialVersionUID" in java classes in
RMIC tests to silence warnings from gcj-4.4.
Diffstat (limited to 'test/Java')
-rw-r--r--test/Java/RMIC.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Java/RMIC.py b/test/Java/RMIC.py
index 5b6cf5fb..f08186e1 100644
--- a/test/Java/RMIC.py
+++ b/test/Java/RMIC.py
@@ -153,6 +153,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Example1 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Example1() throws RemoteException {
super();
}
@@ -190,6 +192,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Example2 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Example2() throws RemoteException {
super();
}
@@ -238,6 +242,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Example3 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Example3() throws RemoteException {
super();
}
@@ -275,6 +281,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Example4 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Example4() throws RemoteException {
super();
}