This patch (committed) implements a missing method in the
BeanContextSupport class:
2006-11-09 David Gilbert <[EMAIL PROTECTED]>
* java/beans/beancontext/BeanContextSupport.java
(getBeanContextPeer): Implemented.
I already committed Mauve tests to back this up.
Regards,
Dave
Index: java/beans/beancontext/BeanContextSupport.java
===================================================================
RCS file:
/sources/classpath/classpath/java/beans/beancontext/BeanContextSupport.java,v
retrieving revision 1.13
diff -u -r1.13 BeanContextSupport.java
--- java/beans/beancontext/BeanContextSupport.java 21 May 2006 20:27:28
-0000 1.13
+++ java/beans/beancontext/BeanContextSupport.java 9 Nov 2006 17:00:41
-0000
@@ -447,10 +447,16 @@
}
}
- public BeanContext getBeanContextPeer ()
- throws NotImplementedException
+ /**
+ * Returns the bean context peer.
+ *
+ * @return The bean context peer.
+ *
+ * @see BeanContextChildSupport#beanContextChildPeer
+ */
+ public BeanContext getBeanContextPeer()
{
- throw new Error ("Not implemented");
+ return (BeanContext) beanContextChildPeer;
}
protected static final BeanContextChild getChildBeanContextChild (Object
child)