summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-01-01 02:01:15 (GMT)
committerSteven Knight <knight@baldmt.com>2010-01-01 02:01:15 (GMT)
commitf02e5c23e2a26e0ffd5cc7e8b830f8f48778227a (patch)
treebc19f0cd1d89c0f64b8fec331fdc9aeebe6b7249 /test
parent20a12bf165799f422fec4c6fda35f5c13f6fcdff (diff)
downloadSCons-f02e5c23e2a26e0ffd5cc7e8b830f8f48778227a.zip
SCons-f02e5c23e2a26e0ffd5cc7e8b830f8f48778227a.tar.gz
SCons-f02e5c23e2a26e0ffd5cc7e8b830f8f48778227a.tar.bz2
Define "static final long serialVersionUID" in java classes in
RMIC tests to silence warnings from gcj-4.4.
Diffstat (limited to 'test')
-rw-r--r--test/Java/RMIC.py8
-rw-r--r--test/Repository/RMIC.py8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/Java/RMIC.py b/test/Java/RMIC.py
index 5b6cf5f..f08186e 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();
}
diff --git a/test/Repository/RMIC.py b/test/Repository/RMIC.py
index ea48d2c..e00bb43 100644
--- a/test/Repository/RMIC.py
+++ b/test/Repository/RMIC.py
@@ -91,6 +91,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Foo1 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Foo1() throws RemoteException {
super();
}
@@ -128,6 +130,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Foo2 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Foo2() throws RemoteException {
super();
}
@@ -207,6 +211,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Foo1 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Foo1() throws RemoteException {
super();
}
@@ -244,6 +250,8 @@ import java.rmi.server.UnicastRemoteObject;
public class Foo2 extends UnicastRemoteObject implements Hello {
+ static final long serialVersionUID = 0;
+
public Foo2() throws RemoteException {
super();
}