geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service GeronimoMBeanEndpointConnection.java
Date Fri, 14 Nov 2003 02:59:17 GMT
djencks     2003/11/13 18:59:17

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/service
                        GeronimoMBeanEndpointConnection.java
  Log:
  Don't try to expose static methods on a class we enhance
  
  Revision  Changes    Path
  1.4       +2 -2      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanEndpointConnection.java
  
  Index: GeronimoMBeanEndpointConnection.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanEndpointConnection.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GeronimoMBeanEndpointConnection.java	14 Nov 2003 02:36:44 -0000	1.3
  +++ GeronimoMBeanEndpointConnection.java	14 Nov 2003 02:59:17 -0000	1.4
  @@ -161,7 +161,7 @@
           Method[] methods = iface.getMethods();
           for (int i = 0; i < methods.length; i++) {
               Method method = methods[i];
  -            if((method.getModifiers() & (Modifier.FINAL | Modifier.PUBLIC)) == Modifier.PUBLIC)
{
  +            if((method.getModifiers() & (Modifier.FINAL | Modifier.PUBLIC | Modifier.STATIC))
== Modifier.PUBLIC) {
                   int index = getSuperIndex(fastClass, method);
                   methodTable[index] = new InvokeMBean(method, false, false);
               }
  
  
  

Mime
View raw message