[jboss-cvs] javassist/src/main/javassist/util/proxy ...

Kabir Khan kkhan at jboss.com
Wed Jul 12 12:19:30 EDT 2006


  User: kkhan   
  Date: 06/07/12 12:19:30

  Modified:    src/main/javassist/util/proxy  ProxyFactory.java
  Log:
  Do not proxy volatile methods
  
  Revision  Changes    Path
  1.11      +2 -0      javassist/src/main/javassist/util/proxy/ProxyFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ProxyFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/util/proxy/ProxyFactory.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- ProxyFactory.java	12 Jun 2006 18:43:53 -0000	1.10
  +++ ProxyFactory.java	12 Jul 2006 16:19:30 -0000	1.11
  @@ -417,6 +417,8 @@
        * @param mod       the modifiers of the method. 
        */
       private static boolean isVisible(int mod, String from, Member meth) {
  +        if ((mod & Modifier.VOLATILE) != 0)
  +         return false;
           if ((mod & Modifier.PRIVATE) != 0)
               return false;
           else if ((mod & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0)
  
  
  



More information about the jboss-cvs-commits mailing list