summaryrefslogtreecommitdiff
path: root/java/test/Ice/objects/InitialI.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-06-19 11:25:17 -0700
committerMark Spruiell <mes@zeroc.com>2007-06-19 11:25:17 -0700
commitddcfe70b4f05fb00e466486fc19076147f79298d (patch)
treeacfa4428263b22b3f9226d04a3fe8f910bd21bdd /java/test/Ice/objects/InitialI.java
parentFor UDP multicast bind to the multicast address rather than 0.0.0.0 unless on... (diff)
downloadice-ddcfe70b4f05fb00e466486fc19076147f79298d.tar.bz2
ice-ddcfe70b4f05fb00e466486fc19076147f79298d.tar.xz
ice-ddcfe70b4f05fb00e466486fc19076147f79298d.zip
bug 2245 - adding support for protected class data members
Diffstat (limited to 'java/test/Ice/objects/InitialI.java')
-rw-r--r--java/test/Ice/objects/InitialI.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/test/Ice/objects/InitialI.java b/java/test/Ice/objects/InitialI.java
index ede616b72b5..89ff33ffccf 100644
--- a/java/test/Ice/objects/InitialI.java
+++ b/java/test/Ice/objects/InitialI.java
@@ -19,6 +19,8 @@ public final class InitialI extends Initial
_b2 = new BI();
_c = new CI();
_d = new DI();
+ _e = new EI();
+ _f = new FI(_e);
_b1.theA = _b2; // Cyclic reference to another B
_b1.theB = _b1; // Self reference.
@@ -85,6 +87,18 @@ public final class InitialI extends Initial
return _d;
}
+ public E
+ getE(Ice.Current current)
+ {
+ return _e;
+ }
+
+ public F
+ getF(Ice.Current current)
+ {
+ return _f;
+ }
+
public I
getI(Ice.Current current)
{
@@ -119,4 +133,6 @@ public final class InitialI extends Initial
private B _b2;
private C _c;
private D _d;
+ private E _e;
+ private F _f;
}