summaryrefslogtreecommitdiff
path: root/java/test/Ice/operations/MyDerivedClassI.java
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2003-05-20 07:53:29 +0000
committerMichi Henning <michi@zeroc.com>2003-05-20 07:53:29 +0000
commitdcc2b4d839ee93c145fc321cc95b9f54e3b6c685 (patch)
tree3cec0953487f7ab3e3d8fed1f0e8d068bf189f50 /java/test/Ice/operations/MyDerivedClassI.java
parentRemoved two slicing tests that can't be implemented in Java. (diff)
downloadice-dcc2b4d839ee93c145fc321cc95b9f54e3b6c685.tar.bz2
ice-dcc2b4d839ee93c145fc321cc95b9f54e3b6c685.tar.xz
ice-dcc2b4d839ee93c145fc321cc95b9f54e3b6c685.zip
Changed marshaling for sizes: sizes of up to 254 are now marshaled in a
single byte. Added appropriate tests for this to Ice/test/operations. Finished slicing for icej. All tests pass. Removed remaining trace.
Diffstat (limited to 'java/test/Ice/operations/MyDerivedClassI.java')
-rw-r--r--java/test/Ice/operations/MyDerivedClassI.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/test/Ice/operations/MyDerivedClassI.java b/java/test/Ice/operations/MyDerivedClassI.java
index 808a0d997e5..ba044139357 100644
--- a/java/test/Ice/operations/MyDerivedClassI.java
+++ b/java/test/Ice/operations/MyDerivedClassI.java
@@ -287,6 +287,17 @@ public final class MyDerivedClassI extends Test.MyDerivedClass
return r;
}
+ public int[]
+ opIntS(int[] s, Ice.Current current)
+ {
+ int[] r = new int[s.length];
+ for(int i = 0; i < r.length; ++i)
+ {
+ r[i] = -s[i];
+ }
+ return r;
+ }
+
public String[]
opStringS(String[] p1, String[] p2,
Test.StringSHolder p3,