diff options
Diffstat (limited to 'java-compat/test/src')
-rw-r--r-- | java-compat/test/src/main/java/test/Ice/ami/Test.ice | 15 | ||||
-rw-r--r-- | java-compat/test/src/main/java/test/Ice/ami/TestII.java | 21 |
2 files changed, 36 insertions, 0 deletions
diff --git a/java-compat/test/src/main/java/test/Ice/ami/Test.ice b/java-compat/test/src/main/java/test/Ice/ami/Test.ice index 15239f27288..d15fa7b4a9e 100644 --- a/java-compat/test/src/main/java/test/Ice/ami/Test.ice +++ b/java-compat/test/src/main/java/test/Ice/ami/Test.ice @@ -67,4 +67,19 @@ interface TestIntfController void resumeAdapter(); } +module Outer +{ + +module Inner +{ + +interface TestIntf +{ + int op(int i, out int j); +} + +} + +} + } diff --git a/java-compat/test/src/main/java/test/Ice/ami/TestII.java b/java-compat/test/src/main/java/test/Ice/ami/TestII.java new file mode 100644 index 00000000000..ac110447b71 --- /dev/null +++ b/java-compat/test/src/main/java/test/Ice/ami/TestII.java @@ -0,0 +1,21 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2017 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +package test.Ice.ami; + +import test.Ice.ami.Test.Outer.Inner._TestIntfDisp; + +public class TestII extends _TestIntfDisp +{ + public int op(int i, Ice.IntHolder j, Ice.Current current) + { + j.value = i; + return i; + } +} |