summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/AllTests.java
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-19 14:38:20 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-19 14:38:20 +0000
commitc07e282e58b1ba42ca121a01ba39c05784f4a3ec (patch)
treee8aadb0f2cc7a0f883d1e80bc78388f7491f5fe4 /java/test/Ice/exceptions/AllTests.java
parentfile dummy5.ice was initially added on branch icepack_refactoring. (diff)
downloadice-c07e282e58b1ba42ca121a01ba39c05784f4a3ec.tar.bz2
ice-c07e282e58b1ba42ca121a01ba39c05784f4a3ec.tar.xz
ice-c07e282e58b1ba42ca121a01ba39c05784f4a3ec.zip
fix
Diffstat (limited to 'java/test/Ice/exceptions/AllTests.java')
-rw-r--r--java/test/Ice/exceptions/AllTests.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/test/Ice/exceptions/AllTests.java b/java/test/Ice/exceptions/AllTests.java
index a04e6441396..09d3a10b6db 100644
--- a/java/test/Ice/exceptions/AllTests.java
+++ b/java/test/Ice/exceptions/AllTests.java
@@ -1152,6 +1152,9 @@ public class AllTests
AMI_Thrower_throwAasAI cb = new AMI_Thrower_throwAasAI();
thrower.throwAasA_async(cb, 1);
test(cb.check());
+ // Let's check if we can reuse the same callback object for another call.
+ thrower.throwAasA_async(cb, 1);
+ test(cb.check());
}
{
@@ -1176,6 +1179,9 @@ public class AllTests
AMI_Thrower_throwCasCI cb = new AMI_Thrower_throwCasCI();
thrower.throwCasC_async(cb, 1, 2, 3);
test(cb.check());
+ // Let's check if we can reuse the same callback object for another call.
+ thrower.throwCasC_async(cb, 1, 2, 3);
+ test(cb.check());
}
System.out.println("ok");