summaryrefslogtreecommitdiff
path: root/java/test/Ice/operationsAMD/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/operationsAMD/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/operationsAMD/MyDerivedClassI.java')
-rw-r--r--java/test/Ice/operationsAMD/MyDerivedClassI.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/test/Ice/operationsAMD/MyDerivedClassI.java b/java/test/Ice/operationsAMD/MyDerivedClassI.java
index d3fc4f13dcf..e0cd474179f 100644
--- a/java/test/Ice/operationsAMD/MyDerivedClassI.java
+++ b/java/test/Ice/operationsAMD/MyDerivedClassI.java
@@ -325,6 +325,17 @@ public final class MyDerivedClassI extends Test.MyDerivedClass
}
public void
+ opIntS_async(Test.AMD_MyClass_opIntS cb, int[] s, Ice.Current current)
+ {
+ int[] r = new int[s.length];
+ for(int i = 0; i < r.length; ++i)
+ {
+ r[i] = -s[i];
+ }
+ cb.ice_response(r);
+ }
+
+ public void
opStringS_async(Test.AMD_MyClass_opStringS cb,
String[] p1, String[] p2,
Ice.Current current)