|  probably workaround for code that compiles but does not run...
|protected superclass method cannot be called from inner class in subclass.

on the "uselesness" of package protection make the super class call public
and be done with the OO wanking

marcf
|
|  Revision  Changes    Path
|  1.2       +8 -1
|jbosscx/src/main/org/jboss/resource/adapter/jdbc/xa/XAManagedConnec
|tion.java
|
|  Index: XAManagedConnection.java
|  ===================================================================
|  RCS file:
|/cvsroot/jboss/jbosscx/src/main/org/jboss/resource/adapter/jdbc/xa/
|XAManagedConnection.java,v
|  retrieving revision 1.1
|  retrieving revision 1.2
|  diff -u -r1.1 -r1.2
|  --- XAManagedConnection.java 2001/09/08 19:32:21     1.1
|  +++ XAManagedConnection.java 2001/12/01 18:08:18     1.2
|  @@ -24,7 +24,7 @@
|    *
|    * @author    Aaron Mulder <[EMAIL PROTECTED]>
|    * @author    <a
|href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
|  - * @version   $Revision: 1.1 $
|  + * @version   $Revision: 1.2 $
|    */
|   public class XAManagedConnection extends BaseManagedConnection
|   {
|  @@ -194,6 +194,13 @@
|      public void cleanup()
|             throws ResourceException
|      {
|  +   }
|  +
|  +   //To work around apparent jvm or compiler bug where inner
|class cannot call protected
|  +   //method on superclass of containing class.
|  +   protected void
|fireConnectionEvent(javax.resource.spi.ConnectionEvent ce)
|  +   {
|  +      super.fireConnectionEvent(ce);
|      }
|
|      XADataSource getDataSource()
|
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to